Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MainNetParams are the clone parameters for mainnet. MainNetParams = btc.ReadCloneParams(&btc.CloneParams{ PubKeyHashAddrID: 0x00, ScriptHashAddrID: 0x05, Bech32HRPSegwit: "bitcoincash", CoinbaseMaturity: 100, Net: 0xe8f3e1e3, }) // TestNet3Params are the clone parameters for testnet. TestNet3Params = btc.ReadCloneParams(&btc.CloneParams{ PubKeyHashAddrID: 0x6f, ScriptHashAddrID: 0xc4, Bech32HRPSegwit: "bchtest", CoinbaseMaturity: 100, Net: 0xf4f3e5f4, }) // RegressionNetParams are the clone parameters for simnet. RegressionNetParams = btc.ReadCloneParams(&btc.CloneParams{ PubKeyHashAddrID: 0x6f, ScriptHashAddrID: 0xc4, Bech32HRPSegwit: "bchreg", CoinbaseMaturity: 100, Net: 0xee87f733, }) )
Functions ¶
func DecodeCashAddress ¶
DecodeCashAddress decodes a Cash Address string into a btcutil.Address that the BTC backend can use internally.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.