fix mainnet bech32 prefix
This commit is contained in:
parent
dc6b15a372
commit
1835deb2c9
1 changed files with 10 additions and 3 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue