netparams

package
v0.0.0-...-516309f Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: ISC Imports: 1 Imported by: 3

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 exccwallet and exccd 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: "19109",
	JSONRPCServerPort: "19110",
	GRPCServerPort:    "19111",
}

TestNetParams contains parameters specific running exccwallet and exccd on the test network (version 2) (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