netparams

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 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:       "9998",
	WalletRPCServerPort: "9996",
}

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

View Source
var TestNetParams = Params{
	Params:              &chaincfg.TestNetParams,
	RPCClientPort:       "19998",
	WalletRPCServerPort: "19996",
}

TestNetParams 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