Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Lines | CMainParams() { | ||||
// valid. | // valid. | ||||
consensus.defaultAssumeValid = | consensus.defaultAssumeValid = | ||||
uint256S("0x000000000000000004694d6c74b532faf99fc072181f870bfb4a6c9" | uint256S("0x000000000000000004694d6c74b532faf99fc072181f870bfb4a6c9" | ||||
"930f7440c"); | "930f7440c"); | ||||
// Aug, 1 hard fork | // Aug, 1 hard fork | ||||
consensus.uahfHeight = 478559; | consensus.uahfHeight = 478559; | ||||
// Nov, 13 hard fork | |||||
consensus.cashHardForkActivationTime = 1510600000; | |||||
/** | /** | ||||
* 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. | ||||
*/ | */ | ||||
pchMessageStart[0] = 0xf9; | pchMessageStart[0] = 0xf9; | ||||
pchMessageStart[1] = 0xbe; | pchMessageStart[1] = 0xbe; | ||||
pchMessageStart[2] = 0xb4; | pchMessageStart[2] = 0xb4; | ||||
▲ Show 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | CTestNetParams() { | ||||
// valid. | // valid. | ||||
consensus.defaultAssumeValid = | consensus.defaultAssumeValid = | ||||
uint256S("0x00000000ba37a638c096da8e1a843df68f4cc9754124f11034a0b61" | uint256S("0x00000000ba37a638c096da8e1a843df68f4cc9754124f11034a0b61" | ||||
"3bbf4ca3e"); | "3bbf4ca3e"); | ||||
// Aug, 1 hard fork | // Aug, 1 hard fork | ||||
consensus.uahfHeight = 1155876; | consensus.uahfHeight = 1155876; | ||||
// Nov, 13 hard fork | |||||
consensus.cashHardForkActivationTime = 1510600000; | |||||
pchMessageStart[0] = 0x0b; | pchMessageStart[0] = 0x0b; | ||||
pchMessageStart[1] = 0x11; | pchMessageStart[1] = 0x11; | ||||
pchMessageStart[2] = 0x09; | pchMessageStart[2] = 0x09; | ||||
pchMessageStart[3] = 0x07; | pchMessageStart[3] = 0x07; | ||||
pchCashMessageStart[0] = 0xf4; | pchCashMessageStart[0] = 0xf4; | ||||
pchCashMessageStart[1] = 0xe5; | pchCashMessageStart[1] = 0xe5; | ||||
pchCashMessageStart[2] = 0xf3; | pchCashMessageStart[2] = 0xf3; | ||||
pchCashMessageStart[3] = 0xf4; | pchCashMessageStart[3] = 0xf4; | ||||
▲ Show 20 Lines • Show All 103 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 | |||||
consensus.cashHardForkActivationTime = 0; | |||||
pchMessageStart[0] = 0xfa; | pchMessageStart[0] = 0xfa; | ||||
pchMessageStart[1] = 0xbf; | pchMessageStart[1] = 0xbf; | ||||
pchMessageStart[2] = 0xb5; | pchMessageStart[2] = 0xb5; | ||||
pchMessageStart[3] = 0xda; | pchMessageStart[3] = 0xda; | ||||
pchCashMessageStart[0] = 0xda; | pchCashMessageStart[0] = 0xda; | ||||
pchCashMessageStart[1] = 0xb5; | pchCashMessageStart[1] = 0xb5; | ||||
pchCashMessageStart[2] = 0xbf; | pchCashMessageStart[2] = 0xbf; | ||||
pchCashMessageStart[3] = 0xfa; | pchCashMessageStart[3] = 0xfa; | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |