Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MainNetParams = Params{ Name: "mainnet", Net: factomwire.MainNet, DefaultPort: "4012", }
MainNetParams defines the network parameters for the main Bitcoin network.
View Source
var TestNet3Params = Params{ Name: "testnet3", Net: factomwire.TestNet3, DefaultPort: "40123", }
TestNet3Params defines the network parameters for the test Bitcoin network (version 3). Not to be confused with the regression test network, this network is sometimes simply called "testnet".
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
Name string
Net factomwire.FactomNet
DefaultPort string
}
Params defines a Bitcoin network by its parameters. These parameters may be used by Bitcoin applications to differentiate networks as well as addresses and keys for one network from those intended for use on another network.
Click to show internal directories.
Click to hide internal directories.