types

package
v0.0.0-...-0abe6a2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 6 Imported by: 7

Documentation

Index

Constants

View Source
const (
	ValNodeActionUpdate    = 1
	ValNodeActionBlockInfo = 2
)

valnode action

Variables

View Source
var ValNodeX = "valnode"

ValNodeX define

Functions

func GetExecName

func GetExecName() string

GetExecName get exec name

func RegisterValnodeServer

func RegisterValnodeServer(s *grpc.Server, srv ValnodeServer)

Types

type BlockGossip

type BlockGossip struct {
	BlockPartSizeBytes   int32    `protobuf:"varint,1,opt,name=BlockPartSizeBytes,proto3" json:"BlockPartSizeBytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockGossip) Descriptor

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

func (*BlockGossip) GetBlockPartSizeBytes

func (m *BlockGossip) GetBlockPartSizeBytes() int32

func (*BlockGossip) ProtoMessage

func (*BlockGossip) ProtoMessage()

func (*BlockGossip) Reset

func (m *BlockGossip) Reset()

func (*BlockGossip) String

func (m *BlockGossip) String() string

func (*BlockGossip) XXX_DiscardUnknown

func (m *BlockGossip) XXX_DiscardUnknown()

func (*BlockGossip) XXX_Marshal

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

func (*BlockGossip) XXX_Merge

func (m *BlockGossip) XXX_Merge(src proto.Message)

func (*BlockGossip) XXX_Size

func (m *BlockGossip) XXX_Size() int

func (*BlockGossip) XXX_Unmarshal

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

type BlockID

type BlockID struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockID) Descriptor

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

func (*BlockID) GetHash

func (m *BlockID) GetHash() []byte

func (*BlockID) ProtoMessage

func (*BlockID) ProtoMessage()

func (*BlockID) Reset

func (m *BlockID) Reset()

func (*BlockID) String

func (m *BlockID) String() string

func (*BlockID) XXX_DiscardUnknown

func (m *BlockID) XXX_DiscardUnknown()

func (*BlockID) XXX_Marshal

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

func (*BlockID) XXX_Merge

func (m *BlockID) XXX_Merge(src proto.Message)

func (*BlockID) XXX_Size

func (m *BlockID) XXX_Size() int

func (*BlockID) XXX_Unmarshal

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

type BlockSize

type BlockSize struct {
	MaxBytes             int32    `protobuf:"varint,1,opt,name=MaxBytes,proto3" json:"MaxBytes,omitempty"`
	MaxTxs               int32    `protobuf:"varint,2,opt,name=MaxTxs,proto3" json:"MaxTxs,omitempty"`
	MaxGas               int64    `protobuf:"varint,3,opt,name=MaxGas,proto3" json:"MaxGas,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockSize) Descriptor

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

func (*BlockSize) GetMaxBytes

func (m *BlockSize) GetMaxBytes() int32

func (*BlockSize) GetMaxGas

func (m *BlockSize) GetMaxGas() int64

func (*BlockSize) GetMaxTxs

func (m *BlockSize) GetMaxTxs() int32

func (*BlockSize) ProtoMessage

func (*BlockSize) ProtoMessage()

func (*BlockSize) Reset

func (m *BlockSize) Reset()

func (*BlockSize) String

func (m *BlockSize) String() string

func (*BlockSize) XXX_DiscardUnknown

func (m *BlockSize) XXX_DiscardUnknown()

func (*BlockSize) XXX_Marshal

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

func (*BlockSize) XXX_Merge

func (m *BlockSize) XXX_Merge(src proto.Message)

func (*BlockSize) XXX_Size

func (m *BlockSize) XXX_Size() int

func (*BlockSize) XXX_Unmarshal

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

type CommitStepMsg

type CommitStepMsg struct {
	Height               int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CommitStepMsg) Descriptor

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

func (*CommitStepMsg) GetHeight

func (m *CommitStepMsg) GetHeight() int64

func (*CommitStepMsg) ProtoMessage

func (*CommitStepMsg) ProtoMessage()

func (*CommitStepMsg) Reset

func (m *CommitStepMsg) Reset()

func (*CommitStepMsg) String

func (m *CommitStepMsg) String() string

func (*CommitStepMsg) XXX_DiscardUnknown

func (m *CommitStepMsg) XXX_DiscardUnknown()

func (*CommitStepMsg) XXX_Marshal

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

func (*CommitStepMsg) XXX_Merge

func (m *CommitStepMsg) XXX_Merge(src proto.Message)

func (*CommitStepMsg) XXX_Size

func (m *CommitStepMsg) XXX_Size() int

func (*CommitStepMsg) XXX_Unmarshal

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

type ConsensusParams

type ConsensusParams struct {
	BlockSize            *BlockSize      `protobuf:"bytes,1,opt,name=BlockSize,proto3" json:"BlockSize,omitempty"`
	TxSize               *TxSize         `protobuf:"bytes,2,opt,name=TxSize,proto3" json:"TxSize,omitempty"`
	BlockGossip          *BlockGossip    `protobuf:"bytes,3,opt,name=BlockGossip,proto3" json:"BlockGossip,omitempty"`
	EvidenceParams       *EvidenceParams `protobuf:"bytes,4,opt,name=EvidenceParams,proto3" json:"EvidenceParams,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ConsensusParams) Descriptor

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

func (*ConsensusParams) GetBlockGossip

func (m *ConsensusParams) GetBlockGossip() *BlockGossip

func (*ConsensusParams) GetBlockSize

func (m *ConsensusParams) GetBlockSize() *BlockSize

func (*ConsensusParams) GetEvidenceParams

func (m *ConsensusParams) GetEvidenceParams() *EvidenceParams

func (*ConsensusParams) GetTxSize

func (m *ConsensusParams) GetTxSize() *TxSize

func (*ConsensusParams) ProtoMessage

func (*ConsensusParams) ProtoMessage()

func (*ConsensusParams) Reset

func (m *ConsensusParams) Reset()

func (*ConsensusParams) String

func (m *ConsensusParams) String() string

func (*ConsensusParams) XXX_DiscardUnknown

func (m *ConsensusParams) XXX_DiscardUnknown()

func (*ConsensusParams) XXX_Marshal

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

func (*ConsensusParams) XXX_Merge

func (m *ConsensusParams) XXX_Merge(src proto.Message)

func (*ConsensusParams) XXX_Size

func (m *ConsensusParams) XXX_Size() int

func (*ConsensusParams) XXX_Unmarshal

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

type DuplicateVoteEvidence

type DuplicateVoteEvidence struct {
	PubKey               string   `protobuf:"bytes,1,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	VoteA                *Vote    `protobuf:"bytes,2,opt,name=voteA,proto3" json:"voteA,omitempty"`
	VoteB                *Vote    `protobuf:"bytes,3,opt,name=voteB,proto3" json:"voteB,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DuplicateVoteEvidence) Descriptor

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

func (*DuplicateVoteEvidence) GetPubKey

func (m *DuplicateVoteEvidence) GetPubKey() string

func (*DuplicateVoteEvidence) GetVoteA

func (m *DuplicateVoteEvidence) GetVoteA() *Vote

func (*DuplicateVoteEvidence) GetVoteB

func (m *DuplicateVoteEvidence) GetVoteB() *Vote

func (*DuplicateVoteEvidence) ProtoMessage

func (*DuplicateVoteEvidence) ProtoMessage()

func (*DuplicateVoteEvidence) Reset

func (m *DuplicateVoteEvidence) Reset()

func (*DuplicateVoteEvidence) String

func (m *DuplicateVoteEvidence) String() string

func (*DuplicateVoteEvidence) XXX_DiscardUnknown

func (m *DuplicateVoteEvidence) XXX_DiscardUnknown()

func (*DuplicateVoteEvidence) XXX_Marshal

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

func (*DuplicateVoteEvidence) XXX_Merge

func (m *DuplicateVoteEvidence) XXX_Merge(src proto.Message)

func (*DuplicateVoteEvidence) XXX_Size

func (m *DuplicateVoteEvidence) XXX_Size() int

func (*DuplicateVoteEvidence) XXX_Unmarshal

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

type EvidenceData

type EvidenceData struct {
	Evidence             []*EvidenceEnvelope `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*EvidenceData) Descriptor

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

func (*EvidenceData) GetEvidence

func (m *EvidenceData) GetEvidence() []*EvidenceEnvelope

func (*EvidenceData) ProtoMessage

func (*EvidenceData) ProtoMessage()

func (*EvidenceData) Reset

func (m *EvidenceData) Reset()

func (*EvidenceData) String

func (m *EvidenceData) String() string

func (*EvidenceData) XXX_DiscardUnknown

func (m *EvidenceData) XXX_DiscardUnknown()

func (*EvidenceData) XXX_Marshal

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

func (*EvidenceData) XXX_Merge

func (m *EvidenceData) XXX_Merge(src proto.Message)

func (*EvidenceData) XXX_Size

func (m *EvidenceData) XXX_Size() int

func (*EvidenceData) XXX_Unmarshal

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

type EvidenceEnvelope

type EvidenceEnvelope struct {
	TypeName             string   `protobuf:"bytes,1,opt,name=typeName,proto3" json:"typeName,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EvidenceEnvelope) Descriptor

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

func (*EvidenceEnvelope) GetData

func (m *EvidenceEnvelope) GetData() []byte

func (*EvidenceEnvelope) GetTypeName

func (m *EvidenceEnvelope) GetTypeName() string

func (*EvidenceEnvelope) ProtoMessage

func (*EvidenceEnvelope) ProtoMessage()

func (*EvidenceEnvelope) Reset

func (m *EvidenceEnvelope) Reset()

func (*EvidenceEnvelope) String

func (m *EvidenceEnvelope) String() string

func (*EvidenceEnvelope) XXX_DiscardUnknown

func (m *EvidenceEnvelope) XXX_DiscardUnknown()

func (*EvidenceEnvelope) XXX_Marshal

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

func (*EvidenceEnvelope) XXX_Merge

func (m *EvidenceEnvelope) XXX_Merge(src proto.Message)

func (*EvidenceEnvelope) XXX_Size

func (m *EvidenceEnvelope) XXX_Size() int

func (*EvidenceEnvelope) XXX_Unmarshal

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

type EvidenceParams

type EvidenceParams struct {
	MaxAge               int64    `protobuf:"varint,1,opt,name=MaxAge,proto3" json:"MaxAge,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EvidenceParams) Descriptor

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

func (*EvidenceParams) GetMaxAge

func (m *EvidenceParams) GetMaxAge() int64

func (*EvidenceParams) ProtoMessage

func (*EvidenceParams) ProtoMessage()

func (*EvidenceParams) Reset

func (m *EvidenceParams) Reset()

func (*EvidenceParams) String

func (m *EvidenceParams) String() string

func (*EvidenceParams) XXX_DiscardUnknown

func (m *EvidenceParams) XXX_DiscardUnknown()

func (*EvidenceParams) XXX_Marshal

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

func (*EvidenceParams) XXX_Merge

func (m *EvidenceParams) XXX_Merge(src proto.Message)

func (*EvidenceParams) XXX_Size

func (m *EvidenceParams) XXX_Size() int

func (*EvidenceParams) XXX_Unmarshal

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

type HasVoteMsg

type HasVoteMsg struct {
	Height               int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round                int32    `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Type                 int32    `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	Index                int32    `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HasVoteMsg) Descriptor

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

func (*HasVoteMsg) GetHeight

func (m *HasVoteMsg) GetHeight() int64

func (*HasVoteMsg) GetIndex

func (m *HasVoteMsg) GetIndex() int32

func (*HasVoteMsg) GetRound

func (m *HasVoteMsg) GetRound() int32

func (*HasVoteMsg) GetType

func (m *HasVoteMsg) GetType() int32

func (*HasVoteMsg) ProtoMessage

func (*HasVoteMsg) ProtoMessage()

func (*HasVoteMsg) Reset

func (m *HasVoteMsg) Reset()

func (*HasVoteMsg) String

func (m *HasVoteMsg) String() string

func (*HasVoteMsg) XXX_DiscardUnknown

func (m *HasVoteMsg) XXX_DiscardUnknown()

func (*HasVoteMsg) XXX_Marshal

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

func (*HasVoteMsg) XXX_Merge

func (m *HasVoteMsg) XXX_Merge(src proto.Message)

func (*HasVoteMsg) XXX_Size

func (m *HasVoteMsg) XXX_Size() int

func (*HasVoteMsg) XXX_Unmarshal

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

type Heartbeat

type Heartbeat struct {
	ValidatorAddress     []byte   `protobuf:"bytes,1,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
	ValidatorIndex       int32    `protobuf:"varint,2,opt,name=validatorIndex,proto3" json:"validatorIndex,omitempty"`
	Height               int64    `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Round                int32    `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"`
	Sequence             int32    `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Signature            []byte   `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Heartbeat) Descriptor

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

func (*Heartbeat) GetHeight

func (m *Heartbeat) GetHeight() int64

func (*Heartbeat) GetRound

func (m *Heartbeat) GetRound() int32

func (*Heartbeat) GetSequence

func (m *Heartbeat) GetSequence() int32

func (*Heartbeat) GetSignature

func (m *Heartbeat) GetSignature() []byte

func (*Heartbeat) GetValidatorAddress

func (m *Heartbeat) GetValidatorAddress() []byte

func (*Heartbeat) GetValidatorIndex

func (m *Heartbeat) GetValidatorIndex() int32

func (*Heartbeat) ProtoMessage

func (*Heartbeat) ProtoMessage()

func (*Heartbeat) Reset

func (m *Heartbeat) Reset()

func (*Heartbeat) String

func (m *Heartbeat) String() string

func (*Heartbeat) XXX_DiscardUnknown

func (m *Heartbeat) XXX_DiscardUnknown()

func (*Heartbeat) XXX_Marshal

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

func (*Heartbeat) XXX_Merge

func (m *Heartbeat) XXX_Merge(src proto.Message)

func (*Heartbeat) XXX_Size

func (m *Heartbeat) XXX_Size() int

func (*Heartbeat) XXX_Unmarshal

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

type IsHealthy

type IsHealthy struct {
	IsHealthy            bool     `protobuf:"varint,1,opt,name=isHealthy,proto3" json:"isHealthy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IsHealthy) Descriptor

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

func (*IsHealthy) GetIsHealthy

func (m *IsHealthy) GetIsHealthy() bool

func (*IsHealthy) ProtoMessage

func (*IsHealthy) ProtoMessage()

func (*IsHealthy) Reset

func (m *IsHealthy) Reset()

func (*IsHealthy) String

func (m *IsHealthy) String() string

func (*IsHealthy) XXX_DiscardUnknown

func (m *IsHealthy) XXX_DiscardUnknown()

func (*IsHealthy) XXX_Marshal

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

func (*IsHealthy) XXX_Merge

func (m *IsHealthy) XXX_Merge(src proto.Message)

func (*IsHealthy) XXX_Size

func (m *IsHealthy) XXX_Size() int

func (*IsHealthy) XXX_Unmarshal

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

type NewRoundStepMsg

type NewRoundStepMsg struct {
	Height                int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round                 int32    `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Step                  int32    `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
	SecondsSinceStartTime int32    `protobuf:"varint,4,opt,name=secondsSinceStartTime,proto3" json:"secondsSinceStartTime,omitempty"`
	LastCommitRound       int32    `protobuf:"varint,5,opt,name=lastCommitRound,proto3" json:"lastCommitRound,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*NewRoundStepMsg) Descriptor

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

func (*NewRoundStepMsg) GetHeight

func (m *NewRoundStepMsg) GetHeight() int64

func (*NewRoundStepMsg) GetLastCommitRound

func (m *NewRoundStepMsg) GetLastCommitRound() int32

func (*NewRoundStepMsg) GetRound

func (m *NewRoundStepMsg) GetRound() int32

func (*NewRoundStepMsg) GetSecondsSinceStartTime

func (m *NewRoundStepMsg) GetSecondsSinceStartTime() int32

func (*NewRoundStepMsg) GetStep

func (m *NewRoundStepMsg) GetStep() int32

func (*NewRoundStepMsg) ProtoMessage

func (*NewRoundStepMsg) ProtoMessage()

func (*NewRoundStepMsg) Reset

func (m *NewRoundStepMsg) Reset()

func (*NewRoundStepMsg) String

func (m *NewRoundStepMsg) String() string

func (*NewRoundStepMsg) XXX_DiscardUnknown

func (m *NewRoundStepMsg) XXX_DiscardUnknown()

func (*NewRoundStepMsg) XXX_Marshal

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

func (*NewRoundStepMsg) XXX_Merge

func (m *NewRoundStepMsg) XXX_Merge(src proto.Message)

func (*NewRoundStepMsg) XXX_Size

func (m *NewRoundStepMsg) XXX_Size() int

func (*NewRoundStepMsg) XXX_Unmarshal

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

type Proposal

type Proposal struct {
	Height               int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round                int32    `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Timestamp            int64    `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	POLRound             int32    `protobuf:"varint,4,opt,name=POLRound,proto3" json:"POLRound,omitempty"`
	POLBlockID           *BlockID `protobuf:"bytes,5,opt,name=POLBlockID,proto3" json:"POLBlockID,omitempty"`
	Signature            []byte   `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
	Blockhash            []byte   `protobuf:"bytes,7,opt,name=blockhash,proto3" json:"blockhash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Proposal) Descriptor

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

func (*Proposal) GetBlockhash

func (m *Proposal) GetBlockhash() []byte

func (*Proposal) GetHeight

func (m *Proposal) GetHeight() int64

func (*Proposal) GetPOLBlockID

func (m *Proposal) GetPOLBlockID() *BlockID

func (*Proposal) GetPOLRound

func (m *Proposal) GetPOLRound() int32

func (*Proposal) GetRound

func (m *Proposal) GetRound() int32

func (*Proposal) GetSignature

func (m *Proposal) GetSignature() []byte

func (*Proposal) GetTimestamp

func (m *Proposal) GetTimestamp() int64

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) Reset

func (m *Proposal) Reset()

func (*Proposal) String

func (m *Proposal) String() string

func (*Proposal) XXX_DiscardUnknown

func (m *Proposal) XXX_DiscardUnknown()

func (*Proposal) XXX_Marshal

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

func (*Proposal) XXX_Merge

func (m *Proposal) XXX_Merge(src proto.Message)

func (*Proposal) XXX_Size

func (m *Proposal) XXX_Size() int

func (*Proposal) XXX_Unmarshal

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

type ProposalPOLMsg

type ProposalPOLMsg struct {
	Height               int64               `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	ProposalPOLRound     int32               `protobuf:"varint,2,opt,name=proposalPOLRound,proto3" json:"proposalPOLRound,omitempty"`
	ProposalPOL          *TendermintBitArray `protobuf:"bytes,3,opt,name=proposalPOL,proto3" json:"proposalPOL,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ProposalPOLMsg) Descriptor

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

func (*ProposalPOLMsg) GetHeight

func (m *ProposalPOLMsg) GetHeight() int64

func (*ProposalPOLMsg) GetProposalPOL

func (m *ProposalPOLMsg) GetProposalPOL() *TendermintBitArray

func (*ProposalPOLMsg) GetProposalPOLRound

func (m *ProposalPOLMsg) GetProposalPOLRound() int32

func (*ProposalPOLMsg) ProtoMessage

func (*ProposalPOLMsg) ProtoMessage()

func (*ProposalPOLMsg) Reset

func (m *ProposalPOLMsg) Reset()

func (*ProposalPOLMsg) String

func (m *ProposalPOLMsg) String() string

func (*ProposalPOLMsg) XXX_DiscardUnknown

func (m *ProposalPOLMsg) XXX_DiscardUnknown()

func (*ProposalPOLMsg) XXX_Marshal

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

func (*ProposalPOLMsg) XXX_Merge

func (m *ProposalPOLMsg) XXX_Merge(src proto.Message)

func (*ProposalPOLMsg) XXX_Size

func (m *ProposalPOLMsg) XXX_Size() int

func (*ProposalPOLMsg) XXX_Unmarshal

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

type ReqBlockInfo

type ReqBlockInfo struct {
	Height               int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqBlockInfo) Descriptor

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

func (*ReqBlockInfo) GetHeight

func (m *ReqBlockInfo) GetHeight() int64

func (*ReqBlockInfo) ProtoMessage

func (*ReqBlockInfo) ProtoMessage()

func (*ReqBlockInfo) Reset

func (m *ReqBlockInfo) Reset()

func (*ReqBlockInfo) String

func (m *ReqBlockInfo) String() string

func (*ReqBlockInfo) XXX_DiscardUnknown

func (m *ReqBlockInfo) XXX_DiscardUnknown()

func (*ReqBlockInfo) XXX_Marshal

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

func (*ReqBlockInfo) XXX_Merge

func (m *ReqBlockInfo) XXX_Merge(src proto.Message)

func (*ReqBlockInfo) XXX_Size

func (m *ReqBlockInfo) XXX_Size() int

func (*ReqBlockInfo) XXX_Unmarshal

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

type ReqNodeInfo

type ReqNodeInfo struct {
	Height               int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqNodeInfo) Descriptor

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

func (*ReqNodeInfo) GetHeight

func (m *ReqNodeInfo) GetHeight() int64

func (*ReqNodeInfo) ProtoMessage

func (*ReqNodeInfo) ProtoMessage()

func (*ReqNodeInfo) Reset

func (m *ReqNodeInfo) Reset()

func (*ReqNodeInfo) String

func (m *ReqNodeInfo) String() string

func (*ReqNodeInfo) XXX_DiscardUnknown

func (m *ReqNodeInfo) XXX_DiscardUnknown()

func (*ReqNodeInfo) XXX_Marshal

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

func (*ReqNodeInfo) XXX_Merge

func (m *ReqNodeInfo) XXX_Merge(src proto.Message)

func (*ReqNodeInfo) XXX_Size

func (m *ReqNodeInfo) XXX_Size() int

func (*ReqNodeInfo) XXX_Unmarshal

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

type State

type State struct {
	ChainID                          string           `protobuf:"bytes,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	LastBlockHeight                  int64            `protobuf:"varint,2,opt,name=LastBlockHeight,proto3" json:"LastBlockHeight,omitempty"`
	LastBlockTotalTx                 int64            `protobuf:"varint,3,opt,name=LastBlockTotalTx,proto3" json:"LastBlockTotalTx,omitempty"`
	LastBlockID                      *BlockID         `protobuf:"bytes,4,opt,name=LastBlockID,proto3" json:"LastBlockID,omitempty"`
	LastBlockTime                    int64            `protobuf:"varint,5,opt,name=LastBlockTime,proto3" json:"LastBlockTime,omitempty"`
	Validators                       *ValidatorSet    `protobuf:"bytes,6,opt,name=Validators,proto3" json:"Validators,omitempty"`
	LastValidators                   *ValidatorSet    `protobuf:"bytes,7,opt,name=LastValidators,proto3" json:"LastValidators,omitempty"`
	LastHeightValidatorsChanged      int64            `protobuf:"varint,8,opt,name=LastHeightValidatorsChanged,proto3" json:"LastHeightValidatorsChanged,omitempty"`
	ConsensusParams                  *ConsensusParams `protobuf:"bytes,9,opt,name=ConsensusParams,proto3" json:"ConsensusParams,omitempty"`
	LastHeightConsensusParamsChanged int64            `protobuf:"varint,10,opt,name=LastHeightConsensusParamsChanged,proto3" json:"LastHeightConsensusParamsChanged,omitempty"`
	LastResultsHash                  []byte           `protobuf:"bytes,11,opt,name=LastResultsHash,proto3" json:"LastResultsHash,omitempty"`
	AppHash                          []byte           `protobuf:"bytes,12,opt,name=AppHash,proto3" json:"AppHash,omitempty"`
	XXX_NoUnkeyedLiteral             struct{}         `json:"-"`
	XXX_unrecognized                 []byte           `json:"-"`
	XXX_sizecache                    int32            `json:"-"`
}

func (*State) Descriptor

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

func (*State) GetAppHash

func (m *State) GetAppHash() []byte

func (*State) GetChainID

func (m *State) GetChainID() string

func (*State) GetConsensusParams

func (m *State) GetConsensusParams() *ConsensusParams

func (*State) GetLastBlockHeight

func (m *State) GetLastBlockHeight() int64

func (*State) GetLastBlockID

func (m *State) GetLastBlockID() *BlockID

func (*State) GetLastBlockTime

func (m *State) GetLastBlockTime() int64

func (*State) GetLastBlockTotalTx

func (m *State) GetLastBlockTotalTx() int64

func (*State) GetLastHeightConsensusParamsChanged

func (m *State) GetLastHeightConsensusParamsChanged() int64

func (*State) GetLastHeightValidatorsChanged

func (m *State) GetLastHeightValidatorsChanged() int64

func (*State) GetLastResultsHash

func (m *State) GetLastResultsHash() []byte

func (*State) GetLastValidators

func (m *State) GetLastValidators() *ValidatorSet

func (*State) GetValidators

func (m *State) GetValidators() *ValidatorSet

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) Reset

func (m *State) Reset()

func (*State) String

func (m *State) String() string

func (*State) XXX_DiscardUnknown

func (m *State) XXX_DiscardUnknown()

func (*State) XXX_Marshal

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

func (*State) XXX_Merge

func (m *State) XXX_Merge(src proto.Message)

func (*State) XXX_Size

func (m *State) XXX_Size() int

func (*State) XXX_Unmarshal

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

type TendermintBitArray

type TendermintBitArray struct {
	Bits                 int32    `protobuf:"varint,1,opt,name=Bits,proto3" json:"Bits,omitempty"`
	Elems                []uint64 `protobuf:"varint,2,rep,packed,name=Elems,proto3" json:"Elems,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TendermintBitArray) Descriptor

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

func (*TendermintBitArray) GetBits

func (m *TendermintBitArray) GetBits() int32

func (*TendermintBitArray) GetElems

func (m *TendermintBitArray) GetElems() []uint64

func (*TendermintBitArray) ProtoMessage

func (*TendermintBitArray) ProtoMessage()

func (*TendermintBitArray) Reset

func (m *TendermintBitArray) Reset()

func (*TendermintBitArray) String

func (m *TendermintBitArray) String() string

func (*TendermintBitArray) XXX_DiscardUnknown

func (m *TendermintBitArray) XXX_DiscardUnknown()

func (*TendermintBitArray) XXX_Marshal

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

func (*TendermintBitArray) XXX_Merge

func (m *TendermintBitArray) XXX_Merge(src proto.Message)

func (*TendermintBitArray) XXX_Size

func (m *TendermintBitArray) XXX_Size() int

func (*TendermintBitArray) XXX_Unmarshal

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

type TendermintBlock

type TendermintBlock struct {
	Header               *TendermintBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Txs                  []*types.Transaction   `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
	Evidence             *EvidenceData          `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence,omitempty"`
	LastCommit           *TendermintCommit      `protobuf:"bytes,4,opt,name=lastCommit,proto3" json:"lastCommit,omitempty"`
	ProposerAddr         []byte                 `protobuf:"bytes,5,opt,name=proposerAddr,proto3" json:"proposerAddr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*TendermintBlock) Descriptor

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

func (*TendermintBlock) GetEvidence

func (m *TendermintBlock) GetEvidence() *EvidenceData

func (*TendermintBlock) GetHeader

func (m *TendermintBlock) GetHeader() *TendermintBlockHeader

func (*TendermintBlock) GetLastCommit

func (m *TendermintBlock) GetLastCommit() *TendermintCommit

func (*TendermintBlock) GetProposerAddr

func (m *TendermintBlock) GetProposerAddr() []byte

func (*TendermintBlock) GetTxs

func (m *TendermintBlock) GetTxs() []*types.Transaction

func (*TendermintBlock) ProtoMessage

func (*TendermintBlock) ProtoMessage()

func (*TendermintBlock) Reset

func (m *TendermintBlock) Reset()

func (*TendermintBlock) String

func (m *TendermintBlock) String() string

func (*TendermintBlock) XXX_DiscardUnknown

func (m *TendermintBlock) XXX_DiscardUnknown()

func (*TendermintBlock) XXX_Marshal

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

func (*TendermintBlock) XXX_Merge

func (m *TendermintBlock) XXX_Merge(src proto.Message)

func (*TendermintBlock) XXX_Size

func (m *TendermintBlock) XXX_Size() int

func (*TendermintBlock) XXX_Unmarshal

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

type TendermintBlockHeader

type TendermintBlockHeader struct {
	ChainID              string   `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Height               int64    `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Round                int64    `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	Time                 int64    `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
	NumTxs               int64    `protobuf:"varint,5,opt,name=numTxs,proto3" json:"numTxs,omitempty"`
	LastBlockID          *BlockID `protobuf:"bytes,6,opt,name=lastBlockID,proto3" json:"lastBlockID,omitempty"`
	TotalTxs             int64    `protobuf:"varint,7,opt,name=totalTxs,proto3" json:"totalTxs,omitempty"`
	LastCommitHash       []byte   `protobuf:"bytes,8,opt,name=lastCommitHash,proto3" json:"lastCommitHash,omitempty"`
	ValidatorsHash       []byte   `protobuf:"bytes,9,opt,name=validatorsHash,proto3" json:"validatorsHash,omitempty"`
	ConsensusHash        []byte   `protobuf:"bytes,10,opt,name=consensusHash,proto3" json:"consensusHash,omitempty"`
	AppHash              []byte   `protobuf:"bytes,11,opt,name=appHash,proto3" json:"appHash,omitempty"`
	LastResultsHash      []byte   `protobuf:"bytes,12,opt,name=lastResultsHash,proto3" json:"lastResultsHash,omitempty"`
	EvidenceHash         []byte   `protobuf:"bytes,13,opt,name=evidenceHash,proto3" json:"evidenceHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TendermintBlockHeader) Descriptor

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

func (*TendermintBlockHeader) GetAppHash

func (m *TendermintBlockHeader) GetAppHash() []byte

func (*TendermintBlockHeader) GetChainID

func (m *TendermintBlockHeader) GetChainID() string

func (*TendermintBlockHeader) GetConsensusHash

func (m *TendermintBlockHeader) GetConsensusHash() []byte

func (*TendermintBlockHeader) GetEvidenceHash

func (m *TendermintBlockHeader) GetEvidenceHash() []byte

func (*TendermintBlockHeader) GetHeight

func (m *TendermintBlockHeader) GetHeight() int64

func (*TendermintBlockHeader) GetLastBlockID

func (m *TendermintBlockHeader) GetLastBlockID() *BlockID

func (*TendermintBlockHeader) GetLastCommitHash

func (m *TendermintBlockHeader) GetLastCommitHash() []byte

func (*TendermintBlockHeader) GetLastResultsHash

func (m *TendermintBlockHeader) GetLastResultsHash() []byte

func (*TendermintBlockHeader) GetNumTxs

func (m *TendermintBlockHeader) GetNumTxs() int64

func (*TendermintBlockHeader) GetRound

func (m *TendermintBlockHeader) GetRound() int64

func (*TendermintBlockHeader) GetTime

func (m *TendermintBlockHeader) GetTime() int64

func (*TendermintBlockHeader) GetTotalTxs

func (m *TendermintBlockHeader) GetTotalTxs() int64

func (*TendermintBlockHeader) GetValidatorsHash

func (m *TendermintBlockHeader) GetValidatorsHash() []byte

func (*TendermintBlockHeader) ProtoMessage

func (*TendermintBlockHeader) ProtoMessage()

func (*TendermintBlockHeader) Reset

func (m *TendermintBlockHeader) Reset()

func (*TendermintBlockHeader) String

func (m *TendermintBlockHeader) String() string

func (*TendermintBlockHeader) XXX_DiscardUnknown

func (m *TendermintBlockHeader) XXX_DiscardUnknown()

func (*TendermintBlockHeader) XXX_Marshal

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

func (*TendermintBlockHeader) XXX_Merge

func (m *TendermintBlockHeader) XXX_Merge(src proto.Message)

func (*TendermintBlockHeader) XXX_Size

func (m *TendermintBlockHeader) XXX_Size() int

func (*TendermintBlockHeader) XXX_Unmarshal

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

type TendermintBlockInfo

type TendermintBlockInfo struct {
	SeenCommit           *TendermintCommit `protobuf:"bytes,1,opt,name=SeenCommit,proto3" json:"SeenCommit,omitempty"`
	LastCommit           *TendermintCommit `protobuf:"bytes,2,opt,name=LastCommit,proto3" json:"LastCommit,omitempty"`
	State                *State            `protobuf:"bytes,3,opt,name=State,proto3" json:"State,omitempty"`
	Proposal             *Proposal         `protobuf:"bytes,4,opt,name=Proposal,proto3" json:"Proposal,omitempty"`
	Block                *TendermintBlock  `protobuf:"bytes,5,opt,name=block,proto3" json:"block,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TendermintBlockInfo) Descriptor

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

func (*TendermintBlockInfo) GetBlock

func (m *TendermintBlockInfo) GetBlock() *TendermintBlock

func (*TendermintBlockInfo) GetLastCommit

func (m *TendermintBlockInfo) GetLastCommit() *TendermintCommit

func (*TendermintBlockInfo) GetProposal

func (m *TendermintBlockInfo) GetProposal() *Proposal

func (*TendermintBlockInfo) GetSeenCommit

func (m *TendermintBlockInfo) GetSeenCommit() *TendermintCommit

func (*TendermintBlockInfo) GetState

func (m *TendermintBlockInfo) GetState() *State

func (*TendermintBlockInfo) ProtoMessage

func (*TendermintBlockInfo) ProtoMessage()

func (*TendermintBlockInfo) Reset

func (m *TendermintBlockInfo) Reset()

func (*TendermintBlockInfo) String

func (m *TendermintBlockInfo) String() string

func (*TendermintBlockInfo) XXX_DiscardUnknown

func (m *TendermintBlockInfo) XXX_DiscardUnknown()

func (*TendermintBlockInfo) XXX_Marshal

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

func (*TendermintBlockInfo) XXX_Merge

func (m *TendermintBlockInfo) XXX_Merge(src proto.Message)

func (*TendermintBlockInfo) XXX_Size

func (m *TendermintBlockInfo) XXX_Size() int

func (*TendermintBlockInfo) XXX_Unmarshal

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

type TendermintCommit

type TendermintCommit struct {
	BlockID              *BlockID `protobuf:"bytes,1,opt,name=BlockID,proto3" json:"BlockID,omitempty"`
	Precommits           []*Vote  `protobuf:"bytes,2,rep,name=Precommits,proto3" json:"Precommits,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TendermintCommit) Descriptor

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

func (*TendermintCommit) GetBlockID

func (m *TendermintCommit) GetBlockID() *BlockID

func (*TendermintCommit) GetPrecommits

func (m *TendermintCommit) GetPrecommits() []*Vote

func (*TendermintCommit) ProtoMessage

func (*TendermintCommit) ProtoMessage()

func (*TendermintCommit) Reset

func (m *TendermintCommit) Reset()

func (*TendermintCommit) String

func (m *TendermintCommit) String() string

func (*TendermintCommit) XXX_DiscardUnknown

func (m *TendermintCommit) XXX_DiscardUnknown()

func (*TendermintCommit) XXX_Marshal

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

func (*TendermintCommit) XXX_Merge

func (m *TendermintCommit) XXX_Merge(src proto.Message)

func (*TendermintCommit) XXX_Size

func (m *TendermintCommit) XXX_Size() int

func (*TendermintCommit) XXX_Unmarshal

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

type TxSize

type TxSize struct {
	MaxBytes             int32    `protobuf:"varint,1,opt,name=MaxBytes,proto3" json:"MaxBytes,omitempty"`
	MaxGas               int64    `protobuf:"varint,2,opt,name=MaxGas,proto3" json:"MaxGas,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxSize) Descriptor

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

func (*TxSize) GetMaxBytes

func (m *TxSize) GetMaxBytes() int32

func (*TxSize) GetMaxGas

func (m *TxSize) GetMaxGas() int64

func (*TxSize) ProtoMessage

func (*TxSize) ProtoMessage()

func (*TxSize) Reset

func (m *TxSize) Reset()

func (*TxSize) String

func (m *TxSize) String() string

func (*TxSize) XXX_DiscardUnknown

func (m *TxSize) XXX_DiscardUnknown()

func (*TxSize) XXX_Marshal

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

func (*TxSize) XXX_Merge

func (m *TxSize) XXX_Merge(src proto.Message)

func (*TxSize) XXX_Size

func (m *TxSize) XXX_Size() int

func (*TxSize) XXX_Unmarshal

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

type ValNode

type ValNode struct {
	PubKey               []byte   `protobuf:"bytes,1,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	Power                int64    `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValNode) Descriptor

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

func (*ValNode) GetPower

func (m *ValNode) GetPower() int64

func (*ValNode) GetPubKey

func (m *ValNode) GetPubKey() []byte

func (*ValNode) ProtoMessage

func (*ValNode) ProtoMessage()

func (*ValNode) Reset

func (m *ValNode) Reset()

func (*ValNode) String

func (m *ValNode) String() string

func (*ValNode) XXX_DiscardUnknown

func (m *ValNode) XXX_DiscardUnknown()

func (*ValNode) XXX_Marshal

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

func (*ValNode) XXX_Merge

func (m *ValNode) XXX_Merge(src proto.Message)

func (*ValNode) XXX_Size

func (m *ValNode) XXX_Size() int

func (*ValNode) XXX_Unmarshal

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

type ValNodeAction

type ValNodeAction struct {
	// Types that are valid to be assigned to Value:
	//	*ValNodeAction_Node
	//	*ValNodeAction_BlockInfo
	Value                isValNodeAction_Value `protobuf_oneof:"value"`
	Ty                   int32                 `protobuf:"varint,3,opt,name=Ty,proto3" json:"Ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ValNodeAction) Descriptor

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

func (*ValNodeAction) GetBlockInfo

func (m *ValNodeAction) GetBlockInfo() *TendermintBlockInfo

func (*ValNodeAction) GetNode

func (m *ValNodeAction) GetNode() *ValNode

func (*ValNodeAction) GetTy

func (m *ValNodeAction) GetTy() int32

func (*ValNodeAction) GetValue

func (m *ValNodeAction) GetValue() isValNodeAction_Value

func (*ValNodeAction) ProtoMessage

func (*ValNodeAction) ProtoMessage()

func (*ValNodeAction) Reset

func (m *ValNodeAction) Reset()

func (*ValNodeAction) String

func (m *ValNodeAction) String() string

func (*ValNodeAction) XXX_DiscardUnknown

func (m *ValNodeAction) XXX_DiscardUnknown()

func (*ValNodeAction) XXX_Marshal

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

func (*ValNodeAction) XXX_Merge

func (m *ValNodeAction) XXX_Merge(src proto.Message)

func (*ValNodeAction) XXX_OneofFuncs

func (*ValNodeAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ValNodeAction) XXX_Size

func (m *ValNodeAction) XXX_Size() int

func (*ValNodeAction) XXX_Unmarshal

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

type ValNodeAction_BlockInfo

type ValNodeAction_BlockInfo struct {
	BlockInfo *TendermintBlockInfo `protobuf:"bytes,2,opt,name=blockInfo,proto3,oneof"`
}

type ValNodeAction_Node

type ValNodeAction_Node struct {
	Node *ValNode `protobuf:"bytes,1,opt,name=node,proto3,oneof"`
}

type ValNodeType

type ValNodeType struct {
	types.ExecTypeBase
}

ValNodeType stuct

func NewType

func NewType() *ValNodeType

NewType method

func (*ValNodeType) GetLogMap

func (t *ValNodeType) GetLogMap() map[int64]*types.LogInfo

GetLogMap method

func (*ValNodeType) GetName

func (t *ValNodeType) GetName() string

GetName 获取执行器名称

func (*ValNodeType) GetPayload

func (t *ValNodeType) GetPayload() types.Message

GetPayload method

func (*ValNodeType) GetTypeMap

func (t *ValNodeType) GetTypeMap() map[string]int32

GetTypeMap method

type ValNodes

type ValNodes struct {
	Nodes                []*ValNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ValNodes) Descriptor

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

func (*ValNodes) GetNodes

func (m *ValNodes) GetNodes() []*ValNode

func (*ValNodes) ProtoMessage

func (*ValNodes) ProtoMessage()

func (*ValNodes) Reset

func (m *ValNodes) Reset()

func (*ValNodes) String

func (m *ValNodes) String() string

func (*ValNodes) XXX_DiscardUnknown

func (m *ValNodes) XXX_DiscardUnknown()

func (*ValNodes) XXX_Marshal

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

func (*ValNodes) XXX_Merge

func (m *ValNodes) XXX_Merge(src proto.Message)

func (*ValNodes) XXX_Size

func (m *ValNodes) XXX_Size() int

func (*ValNodes) XXX_Unmarshal

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

type Validator

type Validator struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	PubKey               []byte   `protobuf:"bytes,2,opt,name=PubKey,proto3" json:"PubKey,omitempty"`
	VotingPower          int64    `protobuf:"varint,3,opt,name=VotingPower,proto3" json:"VotingPower,omitempty"`
	Accum                int64    `protobuf:"varint,4,opt,name=Accum,proto3" json:"Accum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Validator) Descriptor

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

func (*Validator) GetAccum

func (m *Validator) GetAccum() int64

func (*Validator) GetAddress

func (m *Validator) GetAddress() []byte

func (*Validator) GetPubKey

func (m *Validator) GetPubKey() []byte

func (*Validator) GetVotingPower

func (m *Validator) GetVotingPower() int64

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) String

func (m *Validator) String() string

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

func (m *Validator) XXX_Merge(src proto.Message)

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorSet

type ValidatorSet struct {
	Validators           []*Validator `protobuf:"bytes,1,rep,name=Validators,proto3" json:"Validators,omitempty"`
	Proposer             *Validator   `protobuf:"bytes,2,opt,name=Proposer,proto3" json:"Proposer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ValidatorSet) Descriptor

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

func (*ValidatorSet) GetProposer

func (m *ValidatorSet) GetProposer() *Validator

func (*ValidatorSet) GetValidators

func (m *ValidatorSet) GetValidators() []*Validator

func (*ValidatorSet) ProtoMessage

func (*ValidatorSet) ProtoMessage()

func (*ValidatorSet) Reset

func (m *ValidatorSet) Reset()

func (*ValidatorSet) String

func (m *ValidatorSet) String() string

func (*ValidatorSet) XXX_DiscardUnknown

func (m *ValidatorSet) XXX_DiscardUnknown()

func (*ValidatorSet) XXX_Marshal

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

func (*ValidatorSet) XXX_Merge

func (m *ValidatorSet) XXX_Merge(src proto.Message)

func (*ValidatorSet) XXX_Size

func (m *ValidatorSet) XXX_Size() int

func (*ValidatorSet) XXX_Unmarshal

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

type ValnodeClient

type ValnodeClient interface {
	IsSync(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*IsHealthy, error)
	GetNodeInfo(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*ValidatorSet, error)
}

ValnodeClient is the client API for Valnode service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewValnodeClient

func NewValnodeClient(cc *grpc.ClientConn) ValnodeClient

type ValnodeServer

type ValnodeServer interface {
	IsSync(context.Context, *types.ReqNil) (*IsHealthy, error)
	GetNodeInfo(context.Context, *types.ReqNil) (*ValidatorSet, error)
}

ValnodeServer is the server API for Valnode service.

type Vote

type Vote struct {
	ValidatorAddress     []byte   `protobuf:"bytes,1,opt,name=ValidatorAddress,proto3" json:"ValidatorAddress,omitempty"`
	ValidatorIndex       int32    `protobuf:"varint,2,opt,name=ValidatorIndex,proto3" json:"ValidatorIndex,omitempty"`
	Height               int64    `protobuf:"varint,3,opt,name=Height,proto3" json:"Height,omitempty"`
	Round                int32    `protobuf:"varint,4,opt,name=Round,proto3" json:"Round,omitempty"`
	Timestamp            int64    `protobuf:"varint,5,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Type                 uint32   `protobuf:"varint,6,opt,name=Type,proto3" json:"Type,omitempty"`
	BlockID              *BlockID `protobuf:"bytes,7,opt,name=BlockID,proto3" json:"BlockID,omitempty"`
	Signature            []byte   `protobuf:"bytes,8,opt,name=Signature,proto3" json:"Signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Vote) Descriptor

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

func (*Vote) GetBlockID

func (m *Vote) GetBlockID() *BlockID

func (*Vote) GetHeight

func (m *Vote) GetHeight() int64

func (*Vote) GetRound

func (m *Vote) GetRound() int32

func (*Vote) GetSignature

func (m *Vote) GetSignature() []byte

func (*Vote) GetTimestamp

func (m *Vote) GetTimestamp() int64

func (*Vote) GetType

func (m *Vote) GetType() uint32

func (*Vote) GetValidatorAddress

func (m *Vote) GetValidatorAddress() []byte

func (*Vote) GetValidatorIndex

func (m *Vote) GetValidatorIndex() int32

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) Reset

func (m *Vote) Reset()

func (*Vote) String

func (m *Vote) String() string

func (*Vote) XXX_DiscardUnknown

func (m *Vote) XXX_DiscardUnknown()

func (*Vote) XXX_Marshal

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

func (*Vote) XXX_Merge

func (m *Vote) XXX_Merge(src proto.Message)

func (*Vote) XXX_Size

func (m *Vote) XXX_Size() int

func (*Vote) XXX_Unmarshal

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

type VoteSetBitsMsg

type VoteSetBitsMsg struct {
	Height               int64               `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round                int32               `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Type                 int32               `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	BlockID              *BlockID            `protobuf:"bytes,4,opt,name=blockID,proto3" json:"blockID,omitempty"`
	Votes                *TendermintBitArray `protobuf:"bytes,5,opt,name=votes,proto3" json:"votes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*VoteSetBitsMsg) Descriptor

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

func (*VoteSetBitsMsg) GetBlockID

func (m *VoteSetBitsMsg) GetBlockID() *BlockID

func (*VoteSetBitsMsg) GetHeight

func (m *VoteSetBitsMsg) GetHeight() int64

func (*VoteSetBitsMsg) GetRound

func (m *VoteSetBitsMsg) GetRound() int32

func (*VoteSetBitsMsg) GetType

func (m *VoteSetBitsMsg) GetType() int32

func (*VoteSetBitsMsg) GetVotes

func (m *VoteSetBitsMsg) GetVotes() *TendermintBitArray

func (*VoteSetBitsMsg) ProtoMessage

func (*VoteSetBitsMsg) ProtoMessage()

func (*VoteSetBitsMsg) Reset

func (m *VoteSetBitsMsg) Reset()

func (*VoteSetBitsMsg) String

func (m *VoteSetBitsMsg) String() string

func (*VoteSetBitsMsg) XXX_DiscardUnknown

func (m *VoteSetBitsMsg) XXX_DiscardUnknown()

func (*VoteSetBitsMsg) XXX_Marshal

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

func (*VoteSetBitsMsg) XXX_Merge

func (m *VoteSetBitsMsg) XXX_Merge(src proto.Message)

func (*VoteSetBitsMsg) XXX_Size

func (m *VoteSetBitsMsg) XXX_Size() int

func (*VoteSetBitsMsg) XXX_Unmarshal

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

type VoteSetMaj23Msg

type VoteSetMaj23Msg struct {
	Height               int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round                int32    `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Type                 int32    `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	BlockID              *BlockID `protobuf:"bytes,4,opt,name=blockID,proto3" json:"blockID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VoteSetMaj23Msg) Descriptor

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

func (*VoteSetMaj23Msg) GetBlockID

func (m *VoteSetMaj23Msg) GetBlockID() *BlockID

func (*VoteSetMaj23Msg) GetHeight

func (m *VoteSetMaj23Msg) GetHeight() int64

func (*VoteSetMaj23Msg) GetRound

func (m *VoteSetMaj23Msg) GetRound() int32

func (*VoteSetMaj23Msg) GetType

func (m *VoteSetMaj23Msg) GetType() int32

func (*VoteSetMaj23Msg) ProtoMessage

func (*VoteSetMaj23Msg) ProtoMessage()

func (*VoteSetMaj23Msg) Reset

func (m *VoteSetMaj23Msg) Reset()

func (*VoteSetMaj23Msg) String

func (m *VoteSetMaj23Msg) String() string

func (*VoteSetMaj23Msg) XXX_DiscardUnknown

func (m *VoteSetMaj23Msg) XXX_DiscardUnknown()

func (*VoteSetMaj23Msg) XXX_Marshal

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

func (*VoteSetMaj23Msg) XXX_Merge

func (m *VoteSetMaj23Msg) XXX_Merge(src proto.Message)

func (*VoteSetMaj23Msg) XXX_Size

func (m *VoteSetMaj23Msg) XXX_Size() int

func (*VoteSetMaj23Msg) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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