Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLogLevels = "error;accumulate=info" // main=info;state=info;statesync=info;accumulate=debug;executor=info;disk-monitor=info;init=info
Variables ¶
This section is empty.
Functions ¶
func MakeAbsolute ¶ added in v0.5.1
Types ¶
type API ¶
type API struct { TxMaxWaitTime time.Duration `toml:"tx-max-wait-time" mapstructure:"tx-max-wait-time"` PrometheusServer string `toml:"prometheus-server" mapstructure:"prometheus-server"` ListenAddress string `toml:"listen-address" mapstructure:"listen-address"` DebugJSONRPC bool `toml:"debug-jsonrpc" mapstructure:"debug-jsonrpc"` EnableDebugMethods bool `toml:"enable-debug-methods" mapstructure:"enable-debug-methods"` }
type Accumulate ¶
type Config ¶
type Config struct { tm.Config Accumulate Accumulate }
type Network ¶
type Network struct { Type NetworkType `toml:"type" mapstructure:"type"` LocalSubnetID string `toml:"local-subnet" mapstructure:"local-subnet"` LocalAddress string `toml:"local-address" mapstructure:"local-address"` Subnets []Subnet `toml:"subnets" mapstructure:"subnets"` }
func (*Network) GetBvnNames ¶
func (*Network) GetSubnetByID ¶
type NetworkType ¶
type NetworkType string
const ( BlockValidator NetworkType = "block-validator" Directory NetworkType = "directory" )
type Storage ¶ added in v0.5.1
type Storage struct { Type StorageType `toml:"type" mapstructure:"type"` Path string `toml:"path" mapstructure:"path"` Etcd *etcd.Config `toml:"etcd" mapstructure:"etcd"` }
type StorageType ¶ added in v0.5.1
type StorageType string
const ( MemoryStorage StorageType = "memory" BadgerStorage StorageType = "badger" EtcdStorage StorageType = "etcd" )
type Subnet ¶
type Subnet struct { ID string `toml:"id" mapstructure:"id"` Type NetworkType `toml:"type" mapstructure:"type"` Nodes []Node `toml:"nodes" mapstructure:"nodes"` }
Click to show internal directories.
Click to hide internal directories.