Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // NewTxBuilder re-exports bitcoin.NewTxBuilder. NewTxBuilder = bitcoin.NewTxBuilder // NewClient re-exports bitcoin.NewClient. NewClient = bitcoin.NewClient )
var MainNetParams = chaincfg.Params{ Name: "mainnet", Net: 0xc0c0c0c0, PubKeyHashAddrID: 30, ScriptHashAddrID: 22, PrivateKeyID: 158, HDPrivateKeyID: [4]byte{0x02, 0xfa, 0xc3, 0x98}, HDPublicKeyID: [4]byte{0x02, 0xfa, 0xca, 0xfd}, Bech32HRPSegwit: "doge", }
MainNetParams returns the chain configuration for mainnet.
var NewGasEstimator = bitcoin.NewGasEstimator
NewGasEstimator re-exports bitcoin.NewGasEstimator.
var RegressionNetParams = chaincfg.Params{ Name: "regtest", Net: 0xfabfb5da, PubKeyHashAddrID: 111, ScriptHashAddrID: 196, PrivateKeyID: 239, HDPrivateKeyID: [4]byte{0x04, 0x35, 0x83, 0x94}, HDPublicKeyID: [4]byte{0x04, 0x35, 0x87, 0xcf}, Bech32HRPSegwit: "dogert", }
RegressionNetParams returns the chain configuration for regression net.
var TestNetParams = chaincfg.Params{ Name: "testnet", Net: 0xfcc1b7dc, PubKeyHashAddrID: 113, ScriptHashAddrID: 196, PrivateKeyID: 241, HDPrivateKeyID: [4]byte{0x04, 0x35, 0x83, 0x94}, HDPublicKeyID: [4]byte{0x04, 0x35, 0x87, 0xcf}, Bech32HRPSegwit: "doget", }
TestNetParams returns the chain configuration for testnet.
Functions ¶
This section is empty.
Types ¶
type AddressDecoder ¶ added in v0.2.0
type AddressDecoder = bitcoin.AddressDecoder
AddressDecoder re-exports bitcoin.AddressDecoder.
type AddressEncodeDecoder ¶ added in v0.2.1
type AddressEncodeDecoder = bitcoin.AddressEncodeDecoder
AddressEncodeDecoder re-exports bitcoin.AddressEncodeDecoder.
type AddressEncoder ¶ added in v0.2.0
type AddressEncoder = bitcoin.AddressEncoder
AddressEncoder re-exports bitcoin.AddressEncoder.
type ClientOptions ¶ added in v0.2.0
type ClientOptions = bitcoin.ClientOptions
ClientOptions re-exports bitcoin.ClientOptions.
func DefaultClientOptions ¶ added in v0.2.0
func DefaultClientOptions() ClientOptions
DefaultClientOptions returns ClientOptions with the default settings. These settings are valid for use with the default local deployment of the multichain. In production, the host, user, and password should be changed.
type GasEstimator ¶ added in v0.2.0
type GasEstimator = bitcoin.GasEstimator
GasEstimator re-exports bitcoin.GasEstimator.