netparams

package
v0.0.0-...-9e8562e Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: ISC Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainNetParams = Params{
	Params:            chaincfg.MainNetParams(),
	JSONRPCClientPort: "10509",
	JSONRPCServerPort: "10510",
	GRPCServerPort:    "10511",
}

MainNetParams contains parameters specific running ucwallet and ucd on the main network (wire.MainNet).

View Source
var SimNetParams = Params{
	Params:            chaincfg.SimNetParams(),
	JSONRPCClientPort: "12509",
	JSONRPCServerPort: "12510",
	GRPCServerPort:    "12511",
}

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

View Source
var TestNet3Params = Params{
	Params:            chaincfg.TestNet3Params(),
	JSONRPCClientPort: "11509",
	JSONRPCServerPort: "11510",
	GRPCServerPort:    "11511",
}

TestNet3Params contains parameters specific running ucwallet and ucd 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