configpb

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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 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) Descriptor() ([]byte, []int)

func (*CliConfig) GetPassword added in v0.1.2

func (m *CliConfig) GetPassword() string

func (*CliConfig) GetPort added in v0.1.2

func (m *CliConfig) GetPort() uint32

func (*CliConfig) ProtoMessage added in v0.1.2

func (*CliConfig) ProtoMessage()

func (*CliConfig) Reset added in v0.1.2

func (m *CliConfig) Reset()

func (*CliConfig) String added in v0.1.2

func (m *CliConfig) String() string

func (*CliConfig) XXX_DiscardUnknown added in v0.1.2

func (m *CliConfig) XXX_DiscardUnknown()

func (*CliConfig) XXX_Marshal added in v0.1.2

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

func (*CliConfig) XXX_Merge added in v0.1.2

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

func (*CliConfig) XXX_Size added in v0.1.2

func (m *CliConfig) XXX_Size() int

func (*CliConfig) XXX_Unmarshal added in v0.1.2

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

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) Descriptor() ([]byte, []int)

func (*Config) GetConsensusConfig

func (m *Config) GetConsensusConfig() *ConsensusConfig

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

Jump to

Keyboard shortcuts

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