netparams

package
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2020 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainNetParams = Params{
	Params:              &chaincfg.MainNetParams,
	RPCClientPort:       "11048",
	WalletRPCServerPort: "11046",
}

MainNetParams contains parameters specific running btcwallet and pod on the main network (wire.MainNet).

View Source
var RegressionTestParams = Params{
	Params:              &chaincfg.RegressionTestParams,
	RPCClientPort:       "31048",
	WalletRPCServerPort: "31046",
}

RegressionTestParams contains parameters specific to the simulation test network (wire.SimNet).

View Source
var SimNetParams = Params{
	Params:              &chaincfg.SimNetParams,
	RPCClientPort:       "41048",
	WalletRPCServerPort: "41046",
}

SimNetParams contains parameters specific to the simulation test network (wire.SimNet).

View Source
var TestNet3Params = Params{
	Params:              &chaincfg.TestNet3Params,
	RPCClientPort:       "21048",
	WalletRPCServerPort: "21046",
}

TestNet3Params contains parameters specific running btcwallet and pod on the test network (version 3) (wire.TestNet3).

Functions

This section is empty.

Types

type Params

type Params struct {
	sync.Mutex
	*chaincfg.Params
	RPCClientPort       string
	WalletRPCServerPort string
}

Params is used to group parameters for various networks such as the main network and test networks.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL