Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Lines | CMainParams() { | ||||
"58a6853cd"); | "58a6853cd"); | ||||
// By default assume that the signatures in ancestors of this block are | // By default assume that the signatures in ancestors of this block are | ||||
// valid. | // valid. | ||||
consensus.defaultAssumeValid = | consensus.defaultAssumeValid = | ||||
uint256S("0x000000000000000005e14d3f9fdfb70745308706615cfa9edca4f45" | uint256S("0x000000000000000005e14d3f9fdfb70745308706615cfa9edca4f45" | ||||
"58332b201"); | "58332b201"); | ||||
// Aug, 1 hard fork | // August 1 2017 hard fork | ||||
consensus.uahfHeight = 478559; | consensus.uahfHeight = 478559; | ||||
// Nov, 13 hard fork | // November 13 2017 hard fork | ||||
consensus.daaHeight = 504031; | consensus.daaHeight = 504031; | ||||
// May 15 2018 hard fork | |||||
consensus.May152018ActivationTime = 1526342400; | |||||
deadalnix: It's not the correct timestamp | |||||
movrcxUnsubmitted Not Done Inline ActionsWill fix this movrcx: Will fix this | |||||
/** | /** | ||||
* 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 152 Lines • ▼ Show 20 Lines | CTestNetParams() { | ||||
"1b53a244a"); | "1b53a244a"); | ||||
// By default assume that the signatures in ancestors of this block are | // By default assume that the signatures in ancestors of this block are | ||||
// valid. | // valid. | ||||
consensus.defaultAssumeValid = | consensus.defaultAssumeValid = | ||||
uint256S("0x000000000000b41f1f2ddf130df8824e2b61c0af809ff86dd5cadb3" | uint256S("0x000000000000b41f1f2ddf130df8824e2b61c0af809ff86dd5cadb3" | ||||
"61d984ca7"); | "61d984ca7"); | ||||
// Aug, 1 hard fork | // Aug 1 2017 hard fork | ||||
consensus.uahfHeight = 1155876; | consensus.uahfHeight = 1155876; | ||||
// Nov, 13 hard fork | // Nov 13 2017 hard fork | ||||
consensus.daaHeight = 1188697; | consensus.daaHeight = 1188697; | ||||
// May 15 2018 hard fork | |||||
consensus.May152018ActivationTime = 1526342400; | |||||
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 106 Lines • ▼ Show 20 Lines | CRegTestParams() { | ||||
// By default assume that the signatures in ancestors of this block are | // By default assume that the signatures in ancestors of this block are | ||||
// valid. | // valid. | ||||
consensus.defaultAssumeValid = uint256S("0x00"); | consensus.defaultAssumeValid = uint256S("0x00"); | ||||
// Hard fork is always enabled on regtest. | // Hard fork is always enabled on regtest. | ||||
consensus.uahfHeight = 0; | consensus.uahfHeight = 0; | ||||
// Nov, 13 hard fork is always on on regtest. | // Nov 13 2017 hard fork is always on on regtest. | ||||
consensus.daaHeight = 0; | consensus.daaHeight = 0; | ||||
// May 15 2018 hard fork is always enabled on regtest | |||||
consensus.May152018ActivationTime = 0; | |||||
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 79 Lines • Show Last 20 Lines |
It's not the correct timestamp