Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | CMainParams() { | ||||
"000000000000000000e45ad2fbcc5ff3e85f0868dd8f00ad4e92dffabe28f8d2"); | "000000000000000000e45ad2fbcc5ff3e85f0868dd8f00ad4e92dffabe28f8d2"); | ||||
// August 1, 2017 hard fork | // August 1, 2017 hard fork | ||||
consensus.uahfHeight = 478558; | consensus.uahfHeight = 478558; | ||||
// November 13, 2017 hard fork | // November 13, 2017 hard fork | ||||
consensus.daaHeight = 504031; | consensus.daaHeight = 504031; | ||||
// May 15, 2018 hard fork | |||||
consensus.monolithActivationTime = 1526400000; | |||||
// Nov 15, 2018 hard fork | // Nov 15, 2018 hard fork | ||||
consensus.magneticAnomalyActivationTime = 1542300000; | consensus.magneticAnomalyActivationTime = 1542300000; | ||||
/** | /** | ||||
* 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. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | CTestNetParams() { | ||||
"0000000000327972b8470c11755adf8f4319796bafae01f5a6650490b98a17db"); | "0000000000327972b8470c11755adf8f4319796bafae01f5a6650490b98a17db"); | ||||
// August 1, 2017 hard fork | // August 1, 2017 hard fork | ||||
consensus.uahfHeight = 1155875; | consensus.uahfHeight = 1155875; | ||||
// November 13, 2017 hard fork | // November 13, 2017 hard fork | ||||
consensus.daaHeight = 1188697; | consensus.daaHeight = 1188697; | ||||
// May 15, 2018 hard fork | |||||
consensus.monolithActivationTime = 1526400000; | |||||
// Nov 15, 2018 hard fork | // Nov 15, 2018 hard fork | ||||
consensus.magneticAnomalyActivationTime = 1542300000; | consensus.magneticAnomalyActivationTime = 1542300000; | ||||
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; | ||||
▲ Show 20 Lines • Show All 109 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; | |||||
// Nov 15, 2018 hard fork | // Nov 15, 2018 hard fork | ||||
consensus.magneticAnomalyActivationTime = 1542300000; | consensus.magneticAnomalyActivationTime = 1542300000; | ||||
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; | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |