Skip to content

Commit e9b389d

Browse files
continued, dash code
Signed-off-by: Pasta <pasta@dashboost.org>
1 parent b92d2dd commit e9b389d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/chainparams.cpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -537,11 +537,12 @@ class CTestNetParams : public CChainParams {
537537
fBIP9CheckMasternodesUpgraded = true;
538538

539539
checkpointData = (CCheckpointData) {
540-
boost::assign::map_list_of
541-
( 261, uint256S("0x00000c26026d0815a7e2ce4fa270775f61403c040647ff2c3091f99e894a4618"))
542-
( 1999, uint256S("0x00000052e538d27fa53693efe6fb6892a0c1d26c0235f599171c48a3cce553b1"))
543-
( 2999, uint256S("0x0000024bc3f4f4cb30d29827c13d921ad77d2c6072e586c7f60d83c2722cdcc5"))
544-
( 96090, uint256S("0x00000000033df4b94d17ab43e999caaf6c4735095cc77703685da81254d09bba"))
540+
{
541+
{261, uint256S("0x00000c26026d0815a7e2ce4fa270775f61403c040647ff2c3091f99e894a4618")},
542+
{1999, uint256S("0x00000052e538d27fa53693efe6fb6892a0c1d26c0235f599171c48a3cce553b1")},
543+
{2999, uint256S("0x0000024bc3f4f4cb30d29827c13d921ad77d2c6072e586c7f60d83c2722cdcc5")},
544+
{96090, uint256S("0x00000000033df4b94d17ab43e999caaf6c4735095cc77703685da81254d09bba")},
545+
}
545546
};
546547

547548
chainTxData = ChainTxData{
@@ -663,9 +664,9 @@ class CDevNetParams : public CChainParams {
663664
// Testnet private keys start with '9' or 'c' (Bitcoin defaults)
664665
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,239);
665666
// Testnet Dash BIP32 pubkeys start with 'tpub' (Bitcoin defaults)
666-
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container<std::vector<unsigned char> >();
667+
base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x35, 0x87, 0xCF};
667668
// Testnet Dash BIP32 prvkeys start with 'tprv' (Bitcoin defaults)
668-
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector<unsigned char> >();
669+
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94};
669670

670671
// Testnet Dash BIP44 coin type is '1' (All coin's testnet default)
671672
nExtCoinType = 1;

0 commit comments

Comments
 (0)