Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | CMainParams() { | ||||
"58332b201"); | "58332b201"); | ||||
// August 1, 2017 hard fork | // August 1, 2017 hard fork | ||||
consensus.uahfHeight = 478559; | consensus.uahfHeight = 478559; | ||||
// November 13, 2017 hard fork | // November 13, 2017 hard fork | ||||
consensus.daaHeight = 504031; | consensus.daaHeight = 504031; | ||||
// May 15, 2018 hard fork | |||||
consensus.monolithActivationTime = 1526400000; | |||||
/** | /** | ||||
* 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 157 Lines • ▼ Show 20 Lines | CTestNetParams() { | ||||
"61d984ca7"); | "61d984ca7"); | ||||
// August 1, 2017 hard fork | // August 1, 2017 hard fork | ||||
consensus.uahfHeight = 1155876; | consensus.uahfHeight = 1155876; | ||||
// November 13, 2017 hard fork | // November 13, 2017 hard fork | ||||
consensus.daaHeight = 1188697; | consensus.daaHeight = 1188697; | ||||
// May 15, 2018 hard fork | |||||
consensus.monolithActivationTime = 1526400000; | |||||
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 108 Lines • ▼ Show 20 Lines | CRegTestParams() { | ||||
consensus.defaultAssumeValid = uint256S("0x00"); | consensus.defaultAssumeValid = uint256S("0x00"); | ||||
// UAHF is always enabled on regtest. | // UAHF is always enabled on regtest. | ||||
consensus.uahfHeight = 0; | consensus.uahfHeight = 0; | ||||
// November 13, 2017 hard fork is always on on regtest. | // November 13, 2017 hard fork is always on on regtest. | ||||
consensus.daaHeight = 0; | consensus.daaHeight = 0; | ||||
// May 15, 2018 hard fork. | |||||
consensus.monolithActivationTime = 1526400000; | |||||
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 71 Lines • Show Last 20 Lines |