Documentation ¶
Index ¶
- type Network
- func (n Network) ConsensusConfig() ([]byte, error)
- func (n Network) ConsensusGenesis(pv *privval.FilePV) ([]byte, error)
- func (n Network) ConsensusProtocolBlockVersion() (version.Protocol, error)
- func (n Network) DatabaseGenesis() ([]byte, error)
- func (n Network) DatabaseKeystore() (map[string][]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network string
Name represents name of blockchain used when running a node.
const MainNetNetwork Network = "mainnet"
const SiriusNetwork Network = "sirius"
const StandaloneNetwork Network = "standalone"
func (Network) ConsensusConfig ¶
func (Network) ConsensusGenesis ¶
func (Network) ConsensusProtocolBlockVersion ¶
func (Network) DatabaseGenesis ¶
Click to show internal directories.
Click to hide internal directories.