fix mainnet bech32 prefix

This commit is contained in:
Alex Grintsvayg 2020-01-08 20:45:10 -05:00
parent dc6b15a372
commit 1835deb2c9
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -33,9 +33,16 @@ var MainNetParams = chaincfg.Params{
PubKeyHashAddrID: 0x55, PubKeyHashAddrID: 0x55,
ScriptHashAddrID: 0x7a, ScriptHashAddrID: 0x7a,
PrivateKeyID: 0x1c, PrivateKeyID: 0x1c,
Bech32HRPSegwit: "not-used", // we don't have this (yet) Bech32HRPSegwit: "lbc",
GenesisHash: &GenesisHash, //WitnessPubKeyHashAddrID: , // i cant find these in bitcoin codebase either
Name: "mainnet", //WitnessScriptHashAddrID:,
GenesisHash: &GenesisHash,
Name: "mainnet",
Net: wire.BitcoinNet(0xfae4aaf1),
DefaultPort: "9246",
BIP0034Height: 1,
BIP0065Height: 200000,
BIP0066Height: 200000,
} }
const ( const (