netparams

package
v0.9.3-Beta.0...-73c8f7e Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: ISC Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainNetParams = Params{
	Params:            &chaincfg.MainNetParams,
	JSONRPCClientPort: "14009",
	JSONRPCServerPort: "14010",
	GRPCServerPort:    "14011",
}

MainNetParams contains parameters specific running hcashwallet and hcashd on the main network (wire.MainNet).

View Source
var SimNetParams = Params{
	Params:            &chaincfg.SimNetParams,
	JSONRPCClientPort: "13009",
	JSONRPCServerPort: "13010",
	GRPCServerPort:    "13011",
}

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

View Source
var TestNet2Params = Params{
	Params:            &chaincfg.TestNet2Params,
	JSONRPCClientPort: "12009",
	JSONRPCServerPort: "12010",
	GRPCServerPort:    "12011",
}

TestNet2Params contains parameters specific running hcashwallet and hcashd 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