|
|
@ -99,6 +99,7 @@ class CMainParams : public CChainParams { |
|
|
|
public: |
|
|
|
public: |
|
|
|
CMainParams() { |
|
|
|
CMainParams() { |
|
|
|
networkID = CChainParams::MAIN; |
|
|
|
networkID = CChainParams::MAIN; |
|
|
|
|
|
|
|
strNetworkID = "main"; |
|
|
|
// The message start string is designed to be unlikely to occur in normal data.
|
|
|
|
// The message start string is designed to be unlikely to occur in normal data.
|
|
|
|
// The characters are rarely used upper ASCII, not valid as UTF-8, and produce
|
|
|
|
// The characters are rarely used upper ASCII, not valid as UTF-8, and produce
|
|
|
|
// a large 4-byte int at any alignment.
|
|
|
|
// a large 4-byte int at any alignment.
|
|
|
@ -189,6 +190,7 @@ class CTestNetParams : public CMainParams { |
|
|
|
public: |
|
|
|
public: |
|
|
|
CTestNetParams() { |
|
|
|
CTestNetParams() { |
|
|
|
networkID = CChainParams::TESTNET; |
|
|
|
networkID = CChainParams::TESTNET; |
|
|
|
|
|
|
|
strNetworkID = "test"; |
|
|
|
// The message start string is designed to be unlikely to occur in normal data.
|
|
|
|
// The message start string is designed to be unlikely to occur in normal data.
|
|
|
|
// The characters are rarely used upper ASCII, not valid as UTF-8, and produce
|
|
|
|
// The characters are rarely used upper ASCII, not valid as UTF-8, and produce
|
|
|
|
// a large 4-byte int at any alignment.
|
|
|
|
// a large 4-byte int at any alignment.
|
|
|
@ -240,6 +242,7 @@ class CRegTestParams : public CTestNetParams { |
|
|
|
public: |
|
|
|
public: |
|
|
|
CRegTestParams() { |
|
|
|
CRegTestParams() { |
|
|
|
networkID = CChainParams::REGTEST; |
|
|
|
networkID = CChainParams::REGTEST; |
|
|
|
|
|
|
|
strNetworkID = "regtest"; |
|
|
|
pchMessageStart[0] = 0xfa; |
|
|
|
pchMessageStart[0] = 0xfa; |
|
|
|
pchMessageStart[1] = 0xbf; |
|
|
|
pchMessageStart[1] = 0xbf; |
|
|
|
pchMessageStart[2] = 0xb5; |
|
|
|
pchMessageStart[2] = 0xb5; |
|
|
|