netparams

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: ISC Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainNetParams = Params{
	Params:            &chaincfg.MainNetParams,
	JSONRPCClientPort: "9109",
	JSONRPCServerPort: "9110",
	GRPCServerPort:    "9111",
}

MainNetParams contains parameters specific running dcrwallet and dcrd on the main network (wire.MainNet).

View Source
var SimNetParams = Params{
	Params:            &chaincfg.SimNetParams,
	JSONRPCClientPort: "19556",
	JSONRPCServerPort: "19557",
	GRPCServerPort:    "19558",
}

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

View Source
var TestNet2Params = Params{
	Params:            &chaincfg.TestNet2Params,
	JSONRPCClientPort: "19109",
	JSONRPCServerPort: "19110",
	GRPCServerPort:    "19111",
}

TestNet2Params contains parameters specific running dcrwallet and dcrd on the test network (version 2) (wire.TestNet2).

Functions

This section is empty.

Types

type Params

type Params struct {
	*chaincfg.Params
	JSONRPCClientPort string
	JSONRPCServerPort string
	GRPCServerPort    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