Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | CMainParams() { | ||||
consensus.daaHeight = 504031; | consensus.daaHeight = 504031; | ||||
// November 15, 2018 hard fork | // November 15, 2018 hard fork | ||||
consensus.magneticAnomalyHeight = 556766; | consensus.magneticAnomalyHeight = 556766; | ||||
// Wed, 15 May 2019 12:00:00 UTC hard fork | // Wed, 15 May 2019 12:00:00 UTC hard fork | ||||
consensus.greatWallActivationTime = 1557921600; | consensus.greatWallActivationTime = 1557921600; | ||||
// Nov 15, 2019 12:00:00 UTC protocol upgrade | |||||
consensus.gravitonActivationTime = 1573819200; | |||||
/** | /** | ||||
* The message start string is designed to be unlikely to occur in | * The message start string is designed to be unlikely to occur in | ||||
* normal data. The characters are rarely used upper ASCII, not valid as | * normal data. The characters are rarely used upper ASCII, not valid as | ||||
* UTF-8, and produce a large 32-bit integer with any alignment. | * UTF-8, and produce a large 32-bit integer with any alignment. | ||||
*/ | */ | ||||
diskMagic[0] = 0xf9; | diskMagic[0] = 0xf9; | ||||
diskMagic[1] = 0xbe; | diskMagic[1] = 0xbe; | ||||
diskMagic[2] = 0xb4; | diskMagic[2] = 0xb4; | ||||
▲ Show 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | CTestNetParams() { | ||||
consensus.daaHeight = 1188697; | consensus.daaHeight = 1188697; | ||||
// November 15, 2018 hard fork | // November 15, 2018 hard fork | ||||
consensus.magneticAnomalyHeight = 1267996; | consensus.magneticAnomalyHeight = 1267996; | ||||
// Wed, 15 May 2019 12:00:00 UTC hard fork | // Wed, 15 May 2019 12:00:00 UTC hard fork | ||||
consensus.greatWallActivationTime = 1557921600; | consensus.greatWallActivationTime = 1557921600; | ||||
// Nov 15, 2019 12:00:00 UTC protocol upgrade | |||||
consensus.gravitonActivationTime = 1573819200; | |||||
diskMagic[0] = 0x0b; | diskMagic[0] = 0x0b; | ||||
diskMagic[1] = 0x11; | diskMagic[1] = 0x11; | ||||
diskMagic[2] = 0x09; | diskMagic[2] = 0x09; | ||||
diskMagic[3] = 0x07; | diskMagic[3] = 0x07; | ||||
netMagic[0] = 0xf4; | netMagic[0] = 0xf4; | ||||
netMagic[1] = 0xe5; | netMagic[1] = 0xe5; | ||||
netMagic[2] = 0xf3; | netMagic[2] = 0xf3; | ||||
netMagic[3] = 0xf4; | netMagic[3] = 0xf4; | ||||
▲ Show 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | CRegTestParams() { | ||||
consensus.daaHeight = 0; | consensus.daaHeight = 0; | ||||
// November 15, 2018 hard fork is always on on regtest. | // November 15, 2018 hard fork is always on on regtest. | ||||
consensus.magneticAnomalyHeight = 0; | consensus.magneticAnomalyHeight = 0; | ||||
// Wed, 15 May 2019 12:00:00 UTC hard fork | // Wed, 15 May 2019 12:00:00 UTC hard fork | ||||
consensus.greatWallActivationTime = 1557921600; | consensus.greatWallActivationTime = 1557921600; | ||||
// Nov 15, 2019 12:00:00 UTC protocol upgrade | |||||
consensus.gravitonActivationTime = 1573819200; | |||||
diskMagic[0] = 0xfa; | diskMagic[0] = 0xfa; | ||||
diskMagic[1] = 0xbf; | diskMagic[1] = 0xbf; | ||||
diskMagic[2] = 0xb5; | diskMagic[2] = 0xb5; | ||||
diskMagic[3] = 0xda; | diskMagic[3] = 0xda; | ||||
netMagic[0] = 0xda; | netMagic[0] = 0xda; | ||||
netMagic[1] = 0xb5; | netMagic[1] = 0xb5; | ||||
netMagic[2] = 0xbf; | netMagic[2] = 0xbf; | ||||
netMagic[3] = 0xfa; | netMagic[3] = 0xfa; | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |