|
|
@ -106,7 +106,7 @@ fprintf(stderr,"chainparams\n"); |
|
|
|
vFixedSeeds.clear(); |
|
|
|
vSeeds.clear(); |
|
|
|
// TODO: set up bootstrapping for mainnet
|
|
|
|
/*base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,60);
|
|
|
|
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,60); |
|
|
|
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,85); |
|
|
|
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,188); |
|
|
|
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container<std::vector<unsigned char> >(); |
|
|
@ -114,21 +114,22 @@ fprintf(stderr,"chainparams\n"); |
|
|
|
// guarantees the first two characters, when base58 encoded, are "zc"
|
|
|
|
base58Prefixes[ZCPAYMENT_ADDRRESS] = {22,154}; |
|
|
|
// guarantees the first two characters, when base58 encoded, are "SK"
|
|
|
|
base58Prefixes[ZCSPENDING_KEY] = {171,54};*/ |
|
|
|
base58Prefixes[ZCSPENDING_KEY] = {171,54}; |
|
|
|
|
|
|
|
/*
|
|
|
|
// guarantees the first 2 characters, when base58 encoded, are "t1"
|
|
|
|
base58Prefixes[PUBKEY_ADDRESS] = {0x3C}; |
|
|
|
base58Prefixes[PUBKEY_ADDRESS] = {0x1C,0xB8}; |
|
|
|
// guarantees the first 2 characters, when base58 encoded, are "t3"
|
|
|
|
base58Prefixes[SCRIPT_ADDRESS] = {0x55}; |
|
|
|
base58Prefixes[SCRIPT_ADDRESS] = {0x1C,0xBD}; |
|
|
|
// the first character, when base58 encoded, is "5" or "K" or "L" (as in Bitcoin)
|
|
|
|
base58Prefixes[SECRET_KEY] = {188}; |
|
|
|
base58Prefixes[SECRET_KEY] = {0x80}; |
|
|
|
// do not rely on these BIP32 prefixes; they are not specified and may change
|
|
|
|
base58Prefixes[EXT_PUBLIC_KEY] = {0x04,0x88,0xB2,0x1E}; |
|
|
|
base58Prefixes[EXT_SECRET_KEY] = {0x04,0x88,0xAD,0xE4}; |
|
|
|
// guarantees the first 2 characters, when base58 encoded, are "zc"
|
|
|
|
base58Prefixes[ZCPAYMENT_ADDRRESS] = {0x16,0x9A}; |
|
|
|
// guarantees the first 2 characters, when base58 encoded, are "SK"
|
|
|
|
base58Prefixes[ZCSPENDING_KEY] = {0xAB,0x36}; |
|
|
|
base58Prefixes[ZCSPENDING_KEY] = {0xAB,0x36};*/ |
|
|
|
|
|
|
|
vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main)); |
|
|
|
|
|
|
|