Documentation
¶
Index ¶
Constants ¶
View Source
const ( NodeHomeDir = ".gridnoded" ConfigDir = "config" GentxsDir = "gentxs" ValidatorsDir = "validators" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Network ¶
func NewNetwork ¶
func (*Network) SetGenesisWhitelisterAdmin ¶
type Validator ¶
type Validator struct {
ChainID string `yaml:"chain_id"`
NodeID string `yaml:"node_id"`
IPv4Address string `yaml:"ipv4_address"`
HomeDir string `yaml:"-"`
NodeHomeDir string `yaml:"-"`
Moniker string `yaml:"moniker"`
Password string `yaml:"password"`
Address string `yaml:"address"`
PubKey string `yaml:"pub_key"`
Mnemonic string `yaml:"mnemonic"`
ValidatorAddress string `yaml:"validator_address"`
ValidatorConsensusAddress string `yaml:"validator_consensus_address"`
Seed bool `yaml:"is_seed"`
}
type Validators ¶
type Validators []Validator
Click to show internal directories.
Click to hide internal directories.