Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
Show First 20 Lines • Show All 450 Lines • ▼ Show 20 Lines | CRegTestParams() { | ||||
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; | ||||
nDefaultPort = 18444; | nDefaultPort = 18444; | ||||
nPruneAfterHeight = 1000; | nPruneAfterHeight = gArgs.GetBoolArg("-fastprune", false) ? 100 : 1000; | ||||
m_assumed_blockchain_size = 0; | m_assumed_blockchain_size = 0; | ||||
m_assumed_chain_state_size = 0; | m_assumed_chain_state_size = 0; | ||||
genesis = CreateGenesisBlock(1296688602, 2, 0x207fffff, 1, 50 * COIN); | genesis = CreateGenesisBlock(1296688602, 2, 0x207fffff, 1, 50 * COIN); | ||||
consensus.hashGenesisBlock = genesis.GetHash(); | consensus.hashGenesisBlock = genesis.GetHash(); | ||||
assert(consensus.hashGenesisBlock == | assert(consensus.hashGenesisBlock == | ||||
uint256S("0x0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b" | uint256S("0x0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b" | ||||
"1a11466e2206")); | "1a11466e2206")); | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |