netparams

package
v0.0.0-...-775ef2c Latest Latest
Warning

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

Go to latest
Published: May 19, 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: "9209",
	JSONRPCServerPort: "9210",
	GRPCServerPort:    "9211",
}

MainNetParams contains parameters specific running fnowallet and fnod 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 TestNetParams = Params{
	Params:            &chaincfg.TestNetParams,
	JSONRPCClientPort: "19209",
	JSONRPCServerPort: "19210",
	GRPCServerPort:    "19211",
}

TestNetParams contains parameters specific running fnowallet and fnod on the test network (version 3) (wire.TestNet).

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