netparams

package
Version: v0.11.1-beta Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: ISC Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainNetParams = Params{
	Params:        &chaincfg.MainNetParams,
	RPCClientPort: "9334",
	RPCServerPort: "9332",
}

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

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

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

View Source
var TestNet4Params = Params{
	Params:        &chaincfg.TestNet4Params,
	RPCClientPort: "19334",
	RPCServerPort: "19332",
}

TestNet4Params contains parameters specific running btcwallet and btcd on the test network (version 4) (wire.TestNet4).

Functions

This section is empty.

Types

type Params

type Params struct {
	*chaincfg.Params
	RPCClientPort string
	RPCServerPort string
}

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

Source Files

Jump to

Keyboard shortcuts

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