Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var MainNetParams = Params{ Params: &chaincfg.MainNetParams, RPCClientPort: "15216", RPCServerPort: "15213", }
MainNetParams contains parameters specific running walletd and flokicoind on the main network (wire.MainNet).
var RegressionNetParams = Params{ Params: &chaincfg.RegressionNetParams, RPCClientPort: "25216", RPCServerPort: "25213", }
Re contains parameters specific running walletd and flokicoind on the test network (version 3) (wire.TestNet3).
var SigNetParams = Params{ Params: &chaincfg.SigNetParams, RPCClientPort: "55216", RPCServerPort: "55213", }
SigNetParams contains parameters specific to the signet test network (wire.SigNet).
var SimNetParams = Params{ Params: &chaincfg.SimNetParams, RPCClientPort: "45216", RPCServerPort: "45213", }
SimNetParams contains parameters specific to the simulation test network (wire.SimNet).
var TestNet3Params = Params{ Params: &chaincfg.TestNet3Params, RPCClientPort: "35216", RPCServerPort: "35213", }
TestNet3Params contains parameters specific running walletd and flokicoind on the test network (version 3) (wire.TestNet3).
Functions ¶
func SigNetWire ¶
func SigNetWire(params *chaincfg.Params) wire.FlokicoinNet
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.