[chainparams] Mainnet, Testnet, Regtest: Set bech32_hrp to 'p', 'test', 'rtest' (SLIP-0173)
This commit is contained in:
parent
44c74ecde2
commit
3ebc8d64d5
|
@ -160,7 +160,7 @@ public:
|
|||
// guarantees the first 2 characters, when base58 encoded, are "SK"
|
||||
base58Prefixes[ZCSPENDING_KEY] = {0xAB,0x36};
|
||||
|
||||
bech32_hrp = "btcp";
|
||||
bech32_hrp = "p"; // SLIP-0173
|
||||
|
||||
vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main));
|
||||
|
||||
|
@ -276,7 +276,7 @@ public:
|
|||
// guarantees the first 2 characters, when base58 encoded, are "ST"
|
||||
base58Prefixes[ZCSPENDING_KEY] = {0xAC,0x08};
|
||||
|
||||
bech32_hrp = "tbtcp";
|
||||
bech32_hrp = "test"; // SLIP-0173
|
||||
|
||||
vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_test));
|
||||
|
||||
|
@ -370,7 +370,7 @@ public:
|
|||
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94};
|
||||
base58Prefixes[ZCPAYMENT_ADDRRESS] = {0x16,0xC0};
|
||||
base58Prefixes[ZCSPENDING_KEY] = {0xAC,0x08};
|
||||
bech32_hrp = "regbtcp";
|
||||
bech32_hrp = "rtest"; // SLIP-0173
|
||||
|
||||
fDefaultConsistencyChecks = true;
|
||||
fRequireStandard = false;
|
||||
|
|
Loading…
Reference in New Issue