Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MainNetParams = Params{ Params: &chaincfg.MainNetParams, RPCClientPort: "1967", RPCServerPort: "1987", }
MainNetParams contains parameters specific running palcwallet and btcd on the main network (wire.MainNet).
View Source
var SigNetParams = Params{ Params: &chaincfg.SigNetParams, RPCClientPort: "31967", RPCServerPort: "31987", }
SigNetParams contains parameters specific to the signet test network (wire.SigNet).
View Source
var SimNetParams = Params{ Params: &chaincfg.SimNetParams, RPCClientPort: "11918", RPCServerPort: "11916", }
SimNetParams contains parameters specific to the simulation test network (wire.SimNet).
View Source
var TestNet3Params = Params{ Params: &chaincfg.TestNet3Params, RPCClientPort: "11967", RPCServerPort: "11987", }
TestNet3Params contains parameters specific running palcwallet and btcd on the test network (version 3) (wire.TestNet3).
Functions ¶
func SigNetWire ¶
func SigNetWire(params *chaincfg.Params) wire.BitcoinNet
SigNetWire is a helper function that either returns the given chain parameter's net value if the parameter represents a signet network or 0 if it's not. This is necessary because there can be custom signet networks that have a different net value.
Types ¶
Click to show internal directories.
Click to hide internal directories.