Documentation

Index

Constants

View Source
const (
	ValNodeActionUpdate    = 1
	ValNodeActionBlockInfo = 2
)

    valnode action

    View Source
    const (
    	ActionNodeUpdate = "NodeUpdate"
    )

      action name

      View Source
      const ValNodeX = "valnode"

        ValNodeX define

        Variables

        This section is empty.

        Functions

        func CreateNodeUpdateTx

        func CreateNodeUpdateTx(cfg *types.Chain33Config, parm *NodeUpdateTx) (*types.Transaction, error)

          CreateNodeUpdateTx ...

          func InitExecutor

          func InitExecutor(cfg *types.Chain33Config)

            InitExecutor ...

            func InitFork

            func InitFork(cfg *types.Chain33Config)

              InitFork ...

              func RegisterValnodeServer

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

              Types

              type AggVote

              type AggVote struct {
              	ValidatorAddress     []byte              `protobuf:"bytes,1,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
              	ValidatorArray       *TendermintBitArray `protobuf:"bytes,2,opt,name=validatorArray,proto3" json:"validatorArray,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 (*AggVote) Descriptor

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

              func (*AggVote) GetBlockID

              func (m *AggVote) GetBlockID() *BlockID

              func (*AggVote) GetHeight

              func (m *AggVote) GetHeight() int64

              func (*AggVote) GetRound

              func (m *AggVote) GetRound() int32

              func (*AggVote) GetSignature

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

              func (*AggVote) GetTimestamp

              func (m *AggVote) GetTimestamp() int64

              func (*AggVote) GetType

              func (m *AggVote) GetType() uint32

              func (*AggVote) GetValidatorAddress

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

              func (*AggVote) GetValidatorArray

              func (m *AggVote) GetValidatorArray() *TendermintBitArray

              func (*AggVote) ProtoMessage

              func (*AggVote) ProtoMessage()

              func (*AggVote) Reset

              func (m *AggVote) Reset()

              func (*AggVote) String

              func (m *AggVote) String() string

              func (*AggVote) XXX_DiscardUnknown

              func (m *AggVote) XXX_DiscardUnknown()

              func (*AggVote) XXX_Marshal

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

              func (*AggVote) XXX_Merge

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

              func (*AggVote) XXX_Size

              func (m *AggVote) XXX_Size() int

              func (*AggVote) XXX_Unmarshal

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

              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 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 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 NodeUpdateTx

              type NodeUpdateTx struct {
              	PubKey string `json:"pubKey"`
              	Power  int64  `json:"power"`
              }

                NodeUpdateTx for construction

                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"`
                	Data                 *types.Block           `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
                	LastCommit           *TendermintCommit      `protobuf:"bytes,4,opt,name=lastCommit,proto3" json:"lastCommit,omitempty"`
                	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
                	XXX_unrecognized     []byte                 `json:"-"`
                	XXX_sizecache        int32                  `json:"-"`
                }

                func (*TendermintBlock) Descriptor

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

                func (*TendermintBlock) GetData

                func (m *TendermintBlock) GetData() *types.Block

                func (*TendermintBlock) GetHeader

                func (m *TendermintBlock) GetHeader() *TendermintBlockHeader

                func (*TendermintBlock) GetLastCommit

                func (m *TendermintBlock) GetLastCommit() *TendermintCommit

                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"`
                	ProposerAddr         []byte   `protobuf:"bytes,13,opt,name=proposerAddr,proto3" json:"proposerAddr,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) 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) GetProposerAddr

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

                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 {
                	State                *State           `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
                	Proposal             *Proposal        `protobuf:"bytes,3,opt,name=proposal,proto3" json:"proposal,omitempty"`
                	Block                *TendermintBlock `protobuf:"bytes,4,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) GetProposal

                func (m *TendermintBlockInfo) GetProposal() *Proposal

                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"`
                	AggVote              *AggVote `protobuf:"bytes,3,opt,name=aggVote,proto3" json:"aggVote,omitempty"`
                	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                	XXX_unrecognized     []byte   `json:"-"`
                	XXX_sizecache        int32    `json:"-"`
                }

                func (*TendermintCommit) Descriptor

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

                func (*TendermintCommit) GetAggVote

                func (m *TendermintCommit) GetAggVote() *AggVote

                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 UnimplementedValnodeServer

                type UnimplementedValnodeServer struct {
                }

                  UnimplementedValnodeServer can be embedded to have forward compatible implementations.

                  func (*UnimplementedValnodeServer) GetNodeInfo

                  func (*UnimplementedValnodeServer) IsSync

                  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_OneofWrappers

                  func (*ValNodeAction) XXX_OneofWrappers() []interface{}

                    XXX_OneofWrappers 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(cfg *types.Chain33Config) *ValNodeType

                        NewType method

                        func (*ValNodeType) CreateTx

                        func (t *ValNodeType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)

                          CreateTx ...

                          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 ValidBlockMsg

                                  type ValidBlockMsg 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"`
                                  	Blockhash            []byte   `protobuf:"bytes,3,opt,name=blockhash,proto3" json:"blockhash,omitempty"`
                                  	IsCommit             bool     `protobuf:"varint,4,opt,name=isCommit,proto3" json:"isCommit,omitempty"`
                                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                  	XXX_unrecognized     []byte   `json:"-"`
                                  	XXX_sizecache        int32    `json:"-"`
                                  }

                                  func (*ValidBlockMsg) Descriptor

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

                                  func (*ValidBlockMsg) GetBlockhash

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

                                  func (*ValidBlockMsg) GetHeight

                                  func (m *ValidBlockMsg) GetHeight() int64

                                  func (*ValidBlockMsg) GetIsCommit

                                  func (m *ValidBlockMsg) GetIsCommit() bool

                                  func (*ValidBlockMsg) GetRound

                                  func (m *ValidBlockMsg) GetRound() int32

                                  func (*ValidBlockMsg) ProtoMessage

                                  func (*ValidBlockMsg) ProtoMessage()

                                  func (*ValidBlockMsg) Reset

                                  func (m *ValidBlockMsg) Reset()

                                  func (*ValidBlockMsg) String

                                  func (m *ValidBlockMsg) String() string

                                  func (*ValidBlockMsg) XXX_DiscardUnknown

                                  func (m *ValidBlockMsg) XXX_DiscardUnknown()

                                  func (*ValidBlockMsg) XXX_Marshal

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

                                  func (*ValidBlockMsg) XXX_Merge

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

                                  func (*ValidBlockMsg) XXX_Size

                                  func (m *ValidBlockMsg) XXX_Size() int

                                  func (*ValidBlockMsg) XXX_Unmarshal

                                  func (m *ValidBlockMsg) 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.ClientConnInterface) 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"`
                                      	UseAggSig            bool     `protobuf:"varint,9,opt,name=useAggSig,proto3" json:"useAggSig,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) GetUseAggSig

                                      func (m *Vote) GetUseAggSig() bool

                                      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