Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
| Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | CMainParams() { | ||||
| // May 1st, 2016 | // May 1st, 2016 | ||||
| consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nStartTime = | consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nStartTime = | ||||
| 1462060800; | 1462060800; | ||||
| // May 1st, 2017 | // May 1st, 2017 | ||||
| consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nTimeout = 1493596800; | consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nTimeout = 1493596800; | ||||
| // The best chain should have at least this much work. | // The best chain should have at least this much work. | ||||
| consensus.nMinimumChainWork = | consensus.nMinimumChainWork = | ||||
| uint256S("0x000000000000000000000000000000000000000000796b6d5908f8d" | uint256S("0x0000000000000000000000000000000000000000007e5dbf54c7f6b" | ||||
| "b26c3cf44"); | "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("0x00000000000000000553279251628c470a5b51de3bbbf336b208530" | uint256S("0x000000000000000005e14d3f9fdfb70745308706615cfa9edca4f45" | ||||
schancel: I thought we wanted to do this after the fork date? This looks like it is before it. | |||||
| "25ffbf270"); | "58332b201"); | ||||
| // Aug, 1 hard fork | // Aug, 1 hard fork | ||||
| consensus.uahfHeight = 478559; | consensus.uahfHeight = 478559; | ||||
| // Nov, 13 hard fork | // Nov, 13 hard fork | ||||
| consensus.daaHeight = 504031; | consensus.daaHeight = 504031; | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | CMainParams() { | ||||
| {225430, uint256S("0x00000000000001c108384350f74090433e7fcf79a6" | {225430, uint256S("0x00000000000001c108384350f74090433e7fcf79a6" | ||||
| "06b8e797f065b130575932")}, | "06b8e797f065b130575932")}, | ||||
| {250000, uint256S("0x000000000000003887df1f29024b06fc2200b55f8a" | {250000, uint256S("0x000000000000003887df1f29024b06fc2200b55f8a" | ||||
| "f8f35453d7be294df2d214")}, | "f8f35453d7be294df2d214")}, | ||||
| {279000, uint256S("0x0000000000000001ae8c72a0b0c301f67e3afca10e" | {279000, uint256S("0x0000000000000001ae8c72a0b0c301f67e3afca10e" | ||||
| "819efa9041e458e9bd7e40")}, | "819efa9041e458e9bd7e40")}, | ||||
| {295000, uint256S("0x00000000000000004d9b4ef50f0f9d686fd69db2e0" | {295000, uint256S("0x00000000000000004d9b4ef50f0f9d686fd69db2e0" | ||||
| "3af35a100370c64632a983")}, | "3af35a100370c64632a983")}, | ||||
| // UAHF fork block | // UAHF fork block. | ||||
| {478559, uint256S("0x000000000000000000651ef99cb9fcbe0dadde1d42" | {478559, uint256S("0x000000000000000000651ef99cb9fcbe0dadde1d42" | ||||
| "4bd9f15ff20136191a5eec")}, | "4bd9f15ff20136191a5eec")}, | ||||
| // Sept 30, 2017 | // Nov, 13 DAA activation block. | ||||
| {490000, uint256S("0x0000000000000000018ade0e75b4c21db72f05db1e" | {504031, uint256S("0x0000000000000000011ebf65b60d0a3de80b8175be" | ||||
| "4fffb870c26d6c765dc6d1")}}}; | "709d653b4c1a1beeb6ab9c")}, | ||||
| }}; | |||||
| // Data as of block | // Data as of block | ||||
| // 00000000000000000166d612d5595e2b1cd88d71d695fc580af64d8da8658c23 | // 00000000000000000166d612d5595e2b1cd88d71d695fc580af64d8da8658c23 | ||||
| // (height 446482). | // (height 446482). | ||||
| chainTxData = ChainTxData{ | chainTxData = ChainTxData{ | ||||
freetraderUnsubmitted Not Done Inline ActionsWe should come up with some Cash chain (post fork) data for this. freetrader: We should come up with some Cash chain (post fork) data for this.
It is used to estimate the… | |||||
| // UNIX timestamp of last known number of transactions. | // UNIX timestamp of last known number of transactions. | ||||
| 1483472411, | 1483472411, | ||||
| // Total number of transactions between genesis and that timestamp | // Total number of transactions between genesis and that timestamp | ||||
| // (the tx=... number in the SetBestChain debug.log lines) | // (the tx=... number in the SetBestChain debug.log lines) | ||||
| 184495391, | 184495391, | ||||
| // Estimated number of transactions per second after that timestamp. | // Estimated number of transactions per second after that timestamp. | ||||
| 3.2}; | 3.2}; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | CTestNetParams() { | ||||
| // March 1st, 2016 | // March 1st, 2016 | ||||
| consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nStartTime = | consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nStartTime = | ||||
| 1456790400; | 1456790400; | ||||
| // May 1st, 2017 | // May 1st, 2017 | ||||
| consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nTimeout = 1493596800; | consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nTimeout = 1493596800; | ||||
| // The best chain should have at least this much work. | // The best chain should have at least this much work. | ||||
| consensus.nMinimumChainWork = | consensus.nMinimumChainWork = | ||||
| uint256S("0x0000000000000000000000000000000000000000000000288002666" | uint256S("0x00000000000000000000000000000000000000000000002888c34d6" | ||||
| "863267524"); | "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("0x00000000ba37a638c096da8e1a843df68f4cc9754124f11034a0b61" | uint256S("0x000000000000b41f1f2ddf130df8824e2b61c0af809ff86dd5cadb3" | ||||
| "3bbf4ca3e"); | "61d984ca7"); | ||||
| // Aug, 1 hard fork | // Aug, 1 hard fork | ||||
| consensus.uahfHeight = 1155876; | consensus.uahfHeight = 1155876; | ||||
| // Nov, 13 hard fork | // Nov, 13 hard fork | ||||
| consensus.daaHeight = 1188697; | consensus.daaHeight = 1188697; | ||||
| diskMagic[0] = 0x0b; | diskMagic[0] = 0x0b; | ||||
| ▲ Show 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | CTestNetParams() { | ||||
| fDefaultConsistencyChecks = false; | fDefaultConsistencyChecks = false; | ||||
| fRequireStandard = false; | fRequireStandard = false; | ||||
| fMineBlocksOnDemand = false; | fMineBlocksOnDemand = false; | ||||
| checkpointData = { | checkpointData = { | ||||
| .mapCheckpoints = { | .mapCheckpoints = { | ||||
| {546, uint256S("000000002a936ca763904c3c35fce2f3556c559c0214345" | {546, uint256S("000000002a936ca763904c3c35fce2f3556c559c0214345" | ||||
| "d31b1bcebf76acb70")}, | "d31b1bcebf76acb70")}, | ||||
| // UAHF fork block | // UAHF fork block. | ||||
| {1155876, | {1155876, uint256S("00000000000e38fef93ed9582a7df43815d5c2ba9fd" | ||||
MengerianUnsubmitted Not Done Inline ActionsWhy are the block hashes not pre-pended with "0x" for Hex, like they are in all the other sections? Mengerian: Why are the block hashes not pre-pended with "0x" for Hex, like they are in all the other… | |||||
| uint256S("00000000000e38fef93ed9582a7df43815d5c2ba9fd37ef" | "37ef70c9a0ea4a285b8f5")}, | ||||
| "70c9a0ea4a285b8f5")}, | // Nov, 13. DAA activation block. | ||||
| {1188697, uint256S("0000000000170ed0918077bde7b4d36cc4c91be69fa" | |||||
| "09211f748240dabe047fb")}, | |||||
| }}; | }}; | ||||
| // Data as of block | // Data as of block | ||||
| // 00000000c2872f8f8a8935c8e3c5862be9038c97d4de2cf37ed496991166928a | // 00000000c2872f8f8a8935c8e3c5862be9038c97d4de2cf37ed496991166928a | ||||
| // (height 1063660) | // (height 1063660) | ||||
| chainTxData = ChainTxData{1483546230, 12834668, 0.15}; | chainTxData = ChainTxData{1483546230, 12834668, 0.15}; | ||||
| } | } | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines | |||||
I thought we wanted to do this after the fork date? This looks like it is before it.