netparams

package
v0.0.0-...-a838072 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 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",
	RPCServerPort: "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",
	RPCServerPort: "31046",
}

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

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

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

View Source
var TestNet3Params = Params{
	Params:        &chaincfg.TestNet3Params,
	RPCClientPort: "21048",
	RPCServerPort: "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
	RPCServerPort 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