factomnet

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2015 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL