Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Lines | CMainParams() { | ||||
cashaddrPrefix = "bitcoincash"; | cashaddrPrefix = "bitcoincash"; | ||||
vFixedSeeds = std::vector<SeedSpec6>( | vFixedSeeds = std::vector<SeedSpec6>( | ||||
pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main)); | pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main)); | ||||
fDefaultConsistencyChecks = false; | fDefaultConsistencyChecks = false; | ||||
fRequireStandard = true; | fRequireStandard = true; | ||||
m_is_test_chain = false; | m_is_test_chain = false; | ||||
m_is_mockable_chain = false; | |||||
checkpointData = { | checkpointData = { | ||||
.mapCheckpoints = { | .mapCheckpoints = { | ||||
{11111, BlockHash::fromHex("0000000069e244f73d78e8fd29ba2fd2ed6" | {11111, BlockHash::fromHex("0000000069e244f73d78e8fd29ba2fd2ed6" | ||||
"18bd6fa2ee92559f542fdb26e7c1d")}, | "18bd6fa2ee92559f542fdb26e7c1d")}, | ||||
{33333, BlockHash::fromHex("000000002dd5588a74784eaa7ab0507a18a" | {33333, BlockHash::fromHex("000000002dd5588a74784eaa7ab0507a18a" | ||||
"d16a236e7b1ce69f00d7ddfb5d0a6")}, | "d16a236e7b1ce69f00d7ddfb5d0a6")}, | ||||
{74000, BlockHash::fromHex("0000000000573993a3c9e41ce34471c079d" | {74000, BlockHash::fromHex("0000000000573993a3c9e41ce34471c079d" | ||||
▲ Show 20 Lines • Show All 206 Lines • ▼ Show 20 Lines | CTestNetParams() { | ||||
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94}; | base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94}; | ||||
cashaddrPrefix = "bchtest"; | cashaddrPrefix = "bchtest"; | ||||
vFixedSeeds = std::vector<SeedSpec6>( | vFixedSeeds = std::vector<SeedSpec6>( | ||||
pnSeed6_test, pnSeed6_test + ARRAYLEN(pnSeed6_test)); | pnSeed6_test, pnSeed6_test + ARRAYLEN(pnSeed6_test)); | ||||
fDefaultConsistencyChecks = false; | fDefaultConsistencyChecks = false; | ||||
fRequireStandard = false; | fRequireStandard = false; | ||||
m_is_test_chain = true; | m_is_test_chain = true; | ||||
m_is_mockable_chain = false; | |||||
checkpointData = { | checkpointData = { | ||||
.mapCheckpoints = { | .mapCheckpoints = { | ||||
{546, BlockHash::fromHex("000000002a936ca763904c3c35fce2f3556c5" | {546, BlockHash::fromHex("000000002a936ca763904c3c35fce2f3556c5" | ||||
"59c0214345d31b1bcebf76acb70")}, | "59c0214345d31b1bcebf76acb70")}, | ||||
// UAHF fork block. | // UAHF fork block. | ||||
{1155875, | {1155875, | ||||
BlockHash::fromHex("00000000f17c850672894b9a75b63a1e72830bbd5f" | BlockHash::fromHex("00000000f17c850672894b9a75b63a1e72830bbd5f" | ||||
▲ Show 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | CRegTestParams() { | ||||
//! Regtest mode doesn't have any fixed seeds. | //! Regtest mode doesn't have any fixed seeds. | ||||
vFixedSeeds.clear(); | vFixedSeeds.clear(); | ||||
//! Regtest mode doesn't have any DNS seeds. | //! Regtest mode doesn't have any DNS seeds. | ||||
vSeeds.clear(); | vSeeds.clear(); | ||||
fDefaultConsistencyChecks = true; | fDefaultConsistencyChecks = true; | ||||
fRequireStandard = true; | fRequireStandard = true; | ||||
m_is_test_chain = true; | m_is_test_chain = true; | ||||
m_is_mockable_chain = true; | |||||
checkpointData = { | checkpointData = { | ||||
.mapCheckpoints = { | .mapCheckpoints = { | ||||
{0, BlockHash::fromHex("0f9188f13cb7b2c71f2a335e3a4fc328bf5beb4" | {0, BlockHash::fromHex("0f9188f13cb7b2c71f2a335e3a4fc328bf5beb4" | ||||
"36012afca590b1a11466e2206")}, | "36012afca590b1a11466e2206")}, | ||||
}}; | }}; | ||||
chainTxData = ChainTxData{0, 0, 0}; | chainTxData = ChainTxData{0, 0, 0}; | ||||
Show All 38 Lines |