Documentation
¶
Index ¶
- Constants
- Variables
- func GetBlockchainInfo() types.BlockchainInfo
- func GetCurrencyUnits() types.CurrencyUnits
- func GetDevnetGenesis() types.ChainConstants
- func GetStandardnetBootstrapPeers() []modules.NetAddress
- func GetStandardnetGenesis() types.ChainConstants
- func GetTestnetBootstrapPeers() []modules.NetAddress
- func GetTestnetGenesis() types.ChainConstants
Constants ¶
View Source
const ( // ThreeFoldTokenUnit defines the unit of one ThreeFold Token. ThreeFoldTokenUnit = "TFT" // ThreeFoldTokenChainName defines the name of the ThreeFoldToken chain. ThreeFoldTokenChainName = "tfchain" )
Variables ¶
View Source
var ( // Version of the tfchain binaries. Version = build.NewPrereleaseVersion(1, 0, 2, "") )
Functions ¶
func GetBlockchainInfo ¶
func GetBlockchainInfo() types.BlockchainInfo
GetBlockchainInfo returns the naming and versioning of tfchain.
func GetCurrencyUnits ¶
func GetCurrencyUnits() types.CurrencyUnits
GetCurrencyUnits returns the currency units used for all ThreeFold networks.
func GetDevnetGenesis ¶
func GetDevnetGenesis() types.ChainConstants
GetDevnetGenesis explicitly sets all the required constants for the genesis block of the devnet
func GetStandardnetBootstrapPeers ¶
func GetStandardnetBootstrapPeers() []modules.NetAddress
GetStandardnetBootstrapPeers sets the standard bootstrap node addresses
func GetStandardnetGenesis ¶
func GetStandardnetGenesis() types.ChainConstants
GetStandardnetGenesis explicitly sets all the required constants for the genesis block of the standard (prod) net
func GetTestnetBootstrapPeers ¶
func GetTestnetBootstrapPeers() []modules.NetAddress
GetTestnetBootstrapPeers sets the testnet bootstrap node addresses
func GetTestnetGenesis ¶
func GetTestnetGenesis() types.ChainConstants
GetTestnetGenesis explicitly sets all the required constants for the genesis block of the testnet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.