config

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT, BSD-3-Clause Imports: 5 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// TokenUnit defines the unit of one Token.
	TokenUnit = "ROC"
	// TokenChainName defines the name of the chain.
	TokenChainName = "rivchain"
)
View Source
const (
	NetworkNameDevnet = "devnet"

	NetworkNameStandard = "standard"

	NetworkNameTestnet = "testnet"
)

chain network names

Variables

View Source
var (

	// Version of the chain binaries.
	//
	// Value is defined by a private build flag,
	// or hardcoded to the latest released tag as fallback.
	Version build.ProtocolVersion
)

Functions

func GetBlockchainInfo

func GetBlockchainInfo() types.BlockchainInfo

GetBlockchainInfo returns the naming and versioning of tfchain.

func GetDefaultGenesis

func GetDefaultGenesis() types.ChainConstants

func GetDevnetBootstrapPeers

func GetDevnetBootstrapPeers() []modules.NetAddress

func GetDevnetGenesis

func GetDevnetGenesis() types.ChainConstants

func GetDevnetGenesisAuthCoinCondition

func GetDevnetGenesisAuthCoinCondition() types.UnlockConditionProxy

func GetDevnetGenesisMintCondition

func GetDevnetGenesisMintCondition() types.UnlockConditionProxy

func GetStandardBootstrapPeers

func GetStandardBootstrapPeers() []modules.NetAddress

func GetStandardGenesis

func GetStandardGenesis() types.ChainConstants

func GetStandardGenesisAuthCoinCondition

func GetStandardGenesisAuthCoinCondition() types.UnlockConditionProxy

func GetStandardGenesisMintCondition

func GetStandardGenesisMintCondition() types.UnlockConditionProxy

func GetTestnetBootstrapPeers

func GetTestnetBootstrapPeers() []modules.NetAddress

func GetTestnetGenesis

func GetTestnetGenesis() types.ChainConstants

func GetTestnetGenesisAuthCoinCondition

func GetTestnetGenesisAuthCoinCondition() types.UnlockConditionProxy

func GetTestnetGenesisMintCondition

func GetTestnetGenesisMintCondition() types.UnlockConditionProxy

Types

type DaemonNetworkConfig

type DaemonNetworkConfig struct {
	FoundationPoolAddress types.UnlockHash
}

DaemonNetworkConfig defines network-specific constants.

func GetDevnetDaemonNetworkConfig

func GetDevnetDaemonNetworkConfig() DaemonNetworkConfig

func GetStandardDaemonNetworkConfig

func GetStandardDaemonNetworkConfig() DaemonNetworkConfig

func GetTestnetDaemonNetworkConfig

func GetTestnetDaemonNetworkConfig() DaemonNetworkConfig

Jump to

Keyboard shortcuts

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