diff options
| author | langerhans <[email protected]> | 2019-07-14 19:17:14 +0200 |
|---|---|---|
| committer | langerhans <[email protected]> | 2019-07-14 19:17:14 +0200 |
| commit | ae9065a17e62b548c9c56136d45d10551f3514e3 (patch) | |
| tree | 0fd8f9eec08bf7b2c5b369d45bef6a4d3f811223 /src/chainparams.cpp | |
| parent | Merge branch 'rnicoll-rnicoll/1.14-auxpow-target' into 1.14-maint (diff) | |
| parent | Added coments on chain parameters for regtest (diff) | |
| download | discoin-ae9065a17e62b548c9c56136d45d10551f3514e3.tar.xz discoin-ae9065a17e62b548c9c56136d45d10551f3514e3.zip | |
Merge branch 'rnicoll-rnicoll/1591-rebase' into 1.14-maint
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); } - |