configpb

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2018 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DynastyConfig        *DynastyConfig   `protobuf:"bytes,1,opt,name=dynastyConfig,proto3" json:"dynastyConfig,omitempty"`
	ConsensusConfig      *ConsensusConfig `protobuf:"bytes,2,opt,name=consensusConfig,proto3" json:"consensusConfig,omitempty"`
	NodeConfig           *NodeConfig      `protobuf:"bytes,3,opt,name=nodeConfig,proto3" json:"nodeConfig,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetConsensusConfig

func (m *Config) GetConsensusConfig() *ConsensusConfig

func (*Config) GetDynastyConfig

func (m *Config) GetDynastyConfig() *DynastyConfig

func (*Config) GetNodeConfig

func (m *Config) GetNodeConfig() *NodeConfig

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (dst *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

type ConsensusConfig

type ConsensusConfig struct {
	MinerAddr            string   `protobuf:"bytes,1,opt,name=minerAddr,proto3" json:"minerAddr,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) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DynastyConfig) Descriptor

func (*DynastyConfig) Descriptor() ([]byte, []int)

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"`
	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) 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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL