netparams

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 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 TestNet3Params = Params{
	Params:            chaincfg.TestNet3Params(),
	JSONRPCClientPort: "19109",
	JSONRPCServerPort: "19110",
	GRPCServerPort:    "19111",
}

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

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