Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultMoniker = "robot"
)
Variables ¶
This section is empty.
Functions ¶
func ParseConfig ¶
Types ¶
type AdaptorsConfig ¶
type Keys ¶
func GeneratePrivKeys ¶
type LedgerConfig ¶
type LedgerConfig struct { Moniker string IsFastSync bool Mempool *cfg.MempoolConfig RPC *cfg.RPCConfig P2P *cfg.P2PConfig Details *ValidatorDetails PublicIP string Adapters map[string]AdaptorsConfig }
func DefaultLedgerConfig ¶
func DefaultLedgerConfig() LedgerConfig
type OracleConfig ¶
type ValidatorDetails ¶
type ValidatorDetails struct {
Name, Description, JoinedAt string
// Misc
AvatarURL, Website string
}
func (*ValidatorDetails) Bytes ¶
func (validatorDetails *ValidatorDetails) Bytes() ([]byte, error)
func (*ValidatorDetails) DefaultNew ¶
func (validatorDetails *ValidatorDetails) DefaultNew() *ValidatorDetails
Click to show internal directories.
Click to hide internal directories.