Documentation
¶
Index ¶
- type CliConfig
- func (*CliConfig) Descriptor() ([]byte, []int)
- func (m *CliConfig) GetPassword() string
- func (m *CliConfig) GetPort() uint32
- func (*CliConfig) ProtoMessage()
- func (m *CliConfig) Reset()
- func (m *CliConfig) String() string
- func (m *CliConfig) XXX_DiscardUnknown()
- func (m *CliConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CliConfig) XXX_Merge(src proto.Message)
- func (m *CliConfig) XXX_Size() int
- func (m *CliConfig) XXX_Unmarshal(b []byte) error
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetConsensusConfig() *ConsensusConfig
- func (m *Config) GetNodeConfig() *NodeConfig
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type ConsensusConfig
- func (*ConsensusConfig) Descriptor() ([]byte, []int)
- func (m *ConsensusConfig) GetMinerAddr() string
- func (m *ConsensusConfig) GetPrivKey() string
- func (*ConsensusConfig) ProtoMessage()
- func (m *ConsensusConfig) Reset()
- func (m *ConsensusConfig) String() string
- func (m *ConsensusConfig) XXX_DiscardUnknown()
- func (m *ConsensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConsensusConfig) XXX_Merge(src proto.Message)
- func (m *ConsensusConfig) XXX_Size() int
- func (m *ConsensusConfig) XXX_Unmarshal(b []byte) error
- type DynastyConfig
- func (*DynastyConfig) Descriptor() ([]byte, []int)
- func (m *DynastyConfig) GetMaxProducers() uint32
- func (m *DynastyConfig) GetProducers() []string
- func (*DynastyConfig) ProtoMessage()
- func (m *DynastyConfig) Reset()
- func (m *DynastyConfig) String() string
- func (m *DynastyConfig) XXX_DiscardUnknown()
- func (m *DynastyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DynastyConfig) XXX_Merge(src proto.Message)
- func (m *DynastyConfig) XXX_Size() int
- func (m *DynastyConfig) XXX_Unmarshal(b []byte) error
- type NodeConfig
- func (*NodeConfig) Descriptor() ([]byte, []int)
- func (m *NodeConfig) GetDbPath() string
- func (m *NodeConfig) GetKeyPath() string
- func (m *NodeConfig) GetPort() uint32
- func (m *NodeConfig) GetRpcPort() uint32
- func (m *NodeConfig) GetSeed() string
- func (m *NodeConfig) GetTxPoolLimit() uint32
- func (*NodeConfig) ProtoMessage()
- func (m *NodeConfig) Reset()
- func (m *NodeConfig) String() string
- func (m *NodeConfig) XXX_DiscardUnknown()
- func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodeConfig) XXX_Merge(src proto.Message)
- func (m *NodeConfig) XXX_Size() int
- func (m *NodeConfig) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CliConfig ¶ added in v0.1.2
type CliConfig struct {
Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CliConfig) Descriptor ¶ added in v0.1.2
func (*CliConfig) GetPassword ¶ added in v0.1.2
func (*CliConfig) ProtoMessage ¶ added in v0.1.2
func (*CliConfig) ProtoMessage()
func (*CliConfig) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *CliConfig) XXX_DiscardUnknown()
func (*CliConfig) XXX_Marshal ¶ added in v0.1.2
func (*CliConfig) XXX_Unmarshal ¶ added in v0.1.2
type Config ¶
type Config struct {
ConsensusConfig *ConsensusConfig `protobuf:"bytes,1,opt,name=consensusConfig,proto3" json:"consensusConfig,omitempty"`
NodeConfig *NodeConfig `protobuf:"bytes,2,opt,name=nodeConfig,proto3" json:"nodeConfig,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Config) Descriptor ¶
func (*Config) GetConsensusConfig ¶
func (m *Config) GetConsensusConfig() *ConsensusConfig
func (*Config) GetNodeConfig ¶
func (m *Config) GetNodeConfig() *NodeConfig
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type ConsensusConfig ¶
type ConsensusConfig struct {
MinerAddr string `protobuf:"bytes,1,opt,name=minerAddr,proto3" json:"minerAddr,omitempty"`
PrivKey string `protobuf:"bytes,2,opt,name=privKey,proto3" json:"privKey,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ConsensusConfig) Descriptor ¶
func (*ConsensusConfig) Descriptor() ([]byte, []int)
func (*ConsensusConfig) GetMinerAddr ¶
func (m *ConsensusConfig) GetMinerAddr() string
func (*ConsensusConfig) GetPrivKey ¶ added in v0.1.2
func (m *ConsensusConfig) GetPrivKey() string
func (*ConsensusConfig) ProtoMessage ¶
func (*ConsensusConfig) ProtoMessage()
func (*ConsensusConfig) Reset ¶
func (m *ConsensusConfig) Reset()
func (*ConsensusConfig) String ¶
func (m *ConsensusConfig) String() string
func (*ConsensusConfig) XXX_DiscardUnknown ¶
func (m *ConsensusConfig) XXX_DiscardUnknown()
func (*ConsensusConfig) XXX_Marshal ¶
func (m *ConsensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusConfig) XXX_Merge ¶
func (dst *ConsensusConfig) XXX_Merge(src proto.Message)
func (*ConsensusConfig) XXX_Size ¶
func (m *ConsensusConfig) XXX_Size() int
func (*ConsensusConfig) XXX_Unmarshal ¶
func (m *ConsensusConfig) XXX_Unmarshal(b []byte) error
type DynastyConfig ¶
type DynastyConfig struct {
Producers []string `protobuf:"bytes,1,rep,name=producers,proto3" json:"producers,omitempty"`
MaxProducers uint32 `protobuf:"varint,2,opt,name=maxProducers,proto3" json:"maxProducers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DynastyConfig) Descriptor ¶
func (*DynastyConfig) Descriptor() ([]byte, []int)
func (*DynastyConfig) GetMaxProducers ¶ added in v0.1.2
func (m *DynastyConfig) GetMaxProducers() uint32
func (*DynastyConfig) GetProducers ¶
func (m *DynastyConfig) GetProducers() []string
func (*DynastyConfig) ProtoMessage ¶
func (*DynastyConfig) ProtoMessage()
func (*DynastyConfig) Reset ¶
func (m *DynastyConfig) Reset()
func (*DynastyConfig) String ¶
func (m *DynastyConfig) String() string
func (*DynastyConfig) XXX_DiscardUnknown ¶
func (m *DynastyConfig) XXX_DiscardUnknown()
func (*DynastyConfig) XXX_Marshal ¶
func (m *DynastyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DynastyConfig) XXX_Merge ¶
func (dst *DynastyConfig) XXX_Merge(src proto.Message)
func (*DynastyConfig) XXX_Size ¶
func (m *DynastyConfig) XXX_Size() int
func (*DynastyConfig) XXX_Unmarshal ¶
func (m *DynastyConfig) XXX_Unmarshal(b []byte) error
type NodeConfig ¶
type NodeConfig struct {
Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
Seed string `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"`
DbPath string `protobuf:"bytes,3,opt,name=dbPath,proto3" json:"dbPath,omitempty"`
RpcPort uint32 `protobuf:"varint,4,opt,name=rpcPort,proto3" json:"rpcPort,omitempty"`
KeyPath string `protobuf:"bytes,5,opt,name=keyPath,proto3" json:"keyPath,omitempty"`
TxPoolLimit uint32 `protobuf:"varint,6,opt,name=txPoolLimit,proto3" json:"txPoolLimit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*NodeConfig) Descriptor ¶
func (*NodeConfig) Descriptor() ([]byte, []int)
func (*NodeConfig) GetDbPath ¶
func (m *NodeConfig) GetDbPath() string
func (*NodeConfig) GetKeyPath ¶ added in v0.1.2
func (m *NodeConfig) GetKeyPath() string
func (*NodeConfig) GetPort ¶
func (m *NodeConfig) GetPort() uint32
func (*NodeConfig) GetRpcPort ¶ added in v0.1.1
func (m *NodeConfig) GetRpcPort() uint32
func (*NodeConfig) GetSeed ¶
func (m *NodeConfig) GetSeed() string
func (*NodeConfig) GetTxPoolLimit ¶ added in v0.1.2
func (m *NodeConfig) GetTxPoolLimit() uint32
func (*NodeConfig) ProtoMessage ¶
func (*NodeConfig) ProtoMessage()
func (*NodeConfig) Reset ¶
func (m *NodeConfig) Reset()
func (*NodeConfig) String ¶
func (m *NodeConfig) String() string
func (*NodeConfig) XXX_DiscardUnknown ¶
func (m *NodeConfig) XXX_DiscardUnknown()
func (*NodeConfig) XXX_Marshal ¶
func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeConfig) XXX_Merge ¶
func (dst *NodeConfig) XXX_Merge(src proto.Message)
func (*NodeConfig) XXX_Size ¶
func (m *NodeConfig) XXX_Size() int
func (*NodeConfig) XXX_Unmarshal ¶
func (m *NodeConfig) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.