diff options
| author | rllola <[email protected]> | 2019-06-25 18:58:39 +0200 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2019-07-12 21:36:26 +0000 |
| commit | 8fbd1680bb0391e63159eb8ebff370d6999c1032 (patch) | |
| tree | 8ca6f290edd047b3f7ddc6ca52dd4dde010e937c /src/chainparams.cpp | |
| parent | Mark 1.14 ready for release (diff) | |
| download | discoin-8fbd1680bb0391e63159eb8ebff370d6999c1032.tar.xz discoin-8fbd1680bb0391e63159eb8ebff370d6999c1032.zip | |
Added coments on chain parameters for regtest
Diffstat (limited to 'src/chainparams.cpp')
| -rw-r--r-- | src/chainparams.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index ad648a267..d4bdcee6a 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -139,7 +139,7 @@ public: digishieldConsensus.pLeft = &consensus; digishieldConsensus.pRight = &auxpowConsensus; - /** + /** * 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 * a large 32-bit integer with any alignment. @@ -451,9 +451,9 @@ public: 0 }; - base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111); - base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196); - base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,239); + base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111); // 0x6f + base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196); // 0xc4 + base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,239); // 0xef base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container<std::vector<unsigned char> >(); base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector<unsigned char> >(); } @@ -509,4 +509,3 @@ void UpdateRegtestBIP9Parameters(Consensus::DeploymentPos d, int64_t nStartTime, { regTestParams.UpdateBIP9Parameters(d, nStartTime, nTimeout); } - |