bchwallet: github.com/gcash/bchwallet/netparams Index | Files

package netparams

import "github.com/gcash/bchwallet/netparams"

Index

Package Files

params.go

Variables

var MainNetParams = Params{
    Params:        &chaincfg.MainNetParams,
    RPCClientPort: "8334",
    RPCServerPort: "8332",
}

MainNetParams contains parameters specific running bchwallet and bchd on the main network (wire.MainNet).

var RegtestParams = Params{
    Params:        &chaincfg.RegressionNetParams,
    RPCClientPort: "18334",
    RPCServerPort: "18332",
}

RegtestParams contains parameters specific running bchwallet and bchd on the regression test network (wire.TestNet).

var SimNetParams = Params{
    Params:        &chaincfg.SimNetParams,
    RPCClientPort: "18556",
    RPCServerPort: "18554",
}

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

var TestNet3Params = Params{
    Params:        &chaincfg.TestNet3Params,
    RPCClientPort: "18334",
    RPCServerPort: "18332",
}

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

type Params Uses

type Params struct {
    *chaincfg.Params
    RPCClientPort string
    RPCServerPort string
}

Params is used to group parameters for various networks such as the main network and test networks.

Package netparams imports 1 packages (graph) and is imported by 2 packages. Updated 2019-03-20. Refresh now. Tools for package owners.