Versions in this module Expand all Collapse all v3 v3.0.1 Dec 25, 2023 Changes in this version + var ConsensusNodeState_name = map[int32]string + var ConsensusNodeState_value = map[string]int32 + type ConsensusNodeInfo struct + Explain string + NodeID string + State ConsensusNodeState + func (*ConsensusNodeInfo) Descriptor() ([]byte, []int) + func (*ConsensusNodeInfo) ProtoMessage() + func (m *ConsensusNodeInfo) GetExplain() string + func (m *ConsensusNodeInfo) GetNodeID() string + func (m *ConsensusNodeInfo) GetState() ConsensusNodeState + func (m *ConsensusNodeInfo) Marshal() (dAtA []byte, err error) + func (m *ConsensusNodeInfo) MarshalTo(dAtA []byte) (int, error) + func (m *ConsensusNodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ConsensusNodeInfo) Reset() + func (m *ConsensusNodeInfo) Size() (n int) + func (m *ConsensusNodeInfo) String() string + func (m *ConsensusNodeInfo) Unmarshal(dAtA []byte) error + func (m *ConsensusNodeInfo) XXX_DiscardUnknown() + func (m *ConsensusNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConsensusNodeInfo) XXX_Merge(src proto.Message) + func (m *ConsensusNodeInfo) XXX_Size() int + func (m *ConsensusNodeInfo) XXX_Unmarshal(b []byte) error + type ConsensusNodeState int32 + const ConsensusNodeState_ACTIVE + const ConsensusNodeState_INACTIVE + const ConsensusNodeState_UNKNOWN + func (ConsensusNodeState) EnumDescriptor() ([]byte, []int) + func (x ConsensusNodeState) String() string type RwSetVerifyFailTxs + BlockHash []byte + func (m *RwSetVerifyFailTxs) GetBlockHash() []byte v3.0.0 Dec 23, 2022 Changes in this version + var ConsensusType_name = map[int32]string + var ConsensusType_value = map[string]int32 + var ErrIntOverflowConsensus = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthConsensus = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupConsensus = fmt.Errorf("proto: unexpected end of group") + var VerifyResult_Code_name = map[int32]string + var VerifyResult_Code_value = map[string]int32 + type BlockHeaderConsensusArgs struct + ConsensusData *common.TxRWSet + ConsensusType int64 + Round uint64 + View uint64 + func (*BlockHeaderConsensusArgs) Descriptor() ([]byte, []int) + func (*BlockHeaderConsensusArgs) ProtoMessage() + func (m *BlockHeaderConsensusArgs) GetConsensusData() *common.TxRWSet + func (m *BlockHeaderConsensusArgs) GetConsensusType() int64 + func (m *BlockHeaderConsensusArgs) GetRound() uint64 + func (m *BlockHeaderConsensusArgs) GetView() uint64 + func (m *BlockHeaderConsensusArgs) Marshal() (dAtA []byte, err error) + func (m *BlockHeaderConsensusArgs) MarshalTo(dAtA []byte) (int, error) + func (m *BlockHeaderConsensusArgs) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BlockHeaderConsensusArgs) Reset() + func (m *BlockHeaderConsensusArgs) Size() (n int) + func (m *BlockHeaderConsensusArgs) String() string + func (m *BlockHeaderConsensusArgs) Unmarshal(dAtA []byte) error + func (m *BlockHeaderConsensusArgs) XXX_DiscardUnknown() + func (m *BlockHeaderConsensusArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockHeaderConsensusArgs) XXX_Merge(src proto.Message) + func (m *BlockHeaderConsensusArgs) XXX_Size() int + func (m *BlockHeaderConsensusArgs) XXX_Unmarshal(b []byte) error + type ConsensusType int32 + const ConsensusType_ABFT + const ConsensusType_DPOS + const ConsensusType_MAXBFT + const ConsensusType_MBFT + const ConsensusType_POW + const ConsensusType_RAFT + const ConsensusType_SOLO + const ConsensusType_TBFT + func (ConsensusType) EnumDescriptor() ([]byte, []int) + func (x ConsensusType) String() string + type GetConsensusStatusRequest struct + ChainId string + func (*GetConsensusStatusRequest) Descriptor() ([]byte, []int) + func (*GetConsensusStatusRequest) ProtoMessage() + func (m *GetConsensusStatusRequest) GetChainId() string + func (m *GetConsensusStatusRequest) Marshal() (dAtA []byte, err error) + func (m *GetConsensusStatusRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetConsensusStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetConsensusStatusRequest) Reset() + func (m *GetConsensusStatusRequest) Size() (n int) + func (m *GetConsensusStatusRequest) String() string + func (m *GetConsensusStatusRequest) Unmarshal(dAtA []byte) error + func (m *GetConsensusStatusRequest) XXX_DiscardUnknown() + func (m *GetConsensusStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetConsensusStatusRequest) XXX_Merge(src proto.Message) + func (m *GetConsensusStatusRequest) XXX_Size() int + func (m *GetConsensusStatusRequest) XXX_Unmarshal(b []byte) error + type GovernanceContract struct + BlockNumPerEpoch uint64 + CachedLen uint64 + ConfigSequence uint64 + CurMaxIndex int64 + EpochId uint64 + LastMinQuorumForQc uint64 + LastValidators []*GovernanceMember + MaxbftRoundTimeoutIntervalMill uint64 + MaxbftRoundTimeoutMill uint64 + Members []*GovernanceMember + MinQuorumForQc uint64 + N uint64 + NextSwitchHeight uint64 + NextValidators []*GovernanceMember + NodeProposeRound uint64 + SkipTimeoutCommit bool + TransitBlock uint64 + Type ConsensusType + ValidatorNum uint64 + Validators []*GovernanceMember + func (*GovernanceContract) Descriptor() ([]byte, []int) + func (*GovernanceContract) ProtoMessage() + func (m *GovernanceContract) GetBlockNumPerEpoch() uint64 + func (m *GovernanceContract) GetCachedLen() uint64 + func (m *GovernanceContract) GetConfigSequence() uint64 + func (m *GovernanceContract) GetCurMaxIndex() int64 + func (m *GovernanceContract) GetEpochId() uint64 + func (m *GovernanceContract) GetLastMinQuorumForQc() uint64 + func (m *GovernanceContract) GetLastValidators() []*GovernanceMember + func (m *GovernanceContract) GetMaxbftRoundTimeoutIntervalMill() uint64 + func (m *GovernanceContract) GetMaxbftRoundTimeoutMill() uint64 + func (m *GovernanceContract) GetMembers() []*GovernanceMember + func (m *GovernanceContract) GetMinQuorumForQc() uint64 + func (m *GovernanceContract) GetN() uint64 + func (m *GovernanceContract) GetNextSwitchHeight() uint64 + func (m *GovernanceContract) GetNextValidators() []*GovernanceMember + func (m *GovernanceContract) GetNodeProposeRound() uint64 + func (m *GovernanceContract) GetSkipTimeoutCommit() bool + func (m *GovernanceContract) GetTransitBlock() uint64 + func (m *GovernanceContract) GetType() ConsensusType + func (m *GovernanceContract) GetValidatorNum() uint64 + func (m *GovernanceContract) GetValidators() []*GovernanceMember + func (m *GovernanceContract) Marshal() (dAtA []byte, err error) + func (m *GovernanceContract) MarshalTo(dAtA []byte) (int, error) + func (m *GovernanceContract) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GovernanceContract) Reset() + func (m *GovernanceContract) Size() (n int) + func (m *GovernanceContract) String() string + func (m *GovernanceContract) Unmarshal(dAtA []byte) error + func (m *GovernanceContract) XXX_DiscardUnknown() + func (m *GovernanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GovernanceContract) XXX_Merge(src proto.Message) + func (m *GovernanceContract) XXX_Size() int + func (m *GovernanceContract) XXX_Unmarshal(b []byte) error + type GovernanceMember struct + Index int64 + NodeId string + func (*GovernanceMember) Descriptor() ([]byte, []int) + func (*GovernanceMember) ProtoMessage() + func (m *GovernanceMember) GetIndex() int64 + func (m *GovernanceMember) GetNodeId() string + func (m *GovernanceMember) Marshal() (dAtA []byte, err error) + func (m *GovernanceMember) MarshalTo(dAtA []byte) (int, error) + func (m *GovernanceMember) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GovernanceMember) Reset() + func (m *GovernanceMember) Size() (n int) + func (m *GovernanceMember) String() string + func (m *GovernanceMember) Unmarshal(dAtA []byte) error + func (m *GovernanceMember) XXX_DiscardUnknown() + func (m *GovernanceMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GovernanceMember) XXX_Merge(src proto.Message) + func (m *GovernanceMember) XXX_Size() int + func (m *GovernanceMember) XXX_Unmarshal(b []byte) error + type ProposalBlock struct + Block *common.Block + CutBlock *common.Block + TxsRwSet map[string]*common.TxRWSet + func (*ProposalBlock) Descriptor() ([]byte, []int) + func (*ProposalBlock) ProtoMessage() + func (m *ProposalBlock) GetBlock() *common.Block + func (m *ProposalBlock) GetCutBlock() *common.Block + func (m *ProposalBlock) GetTxsRwSet() map[string]*common.TxRWSet + func (m *ProposalBlock) Marshal() (dAtA []byte, err error) + func (m *ProposalBlock) MarshalTo(dAtA []byte) (int, error) + func (m *ProposalBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ProposalBlock) Reset() + func (m *ProposalBlock) Size() (n int) + func (m *ProposalBlock) String() string + func (m *ProposalBlock) Unmarshal(dAtA []byte) error + func (m *ProposalBlock) XXX_DiscardUnknown() + func (m *ProposalBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ProposalBlock) XXX_Merge(src proto.Message) + func (m *ProposalBlock) XXX_Size() int + func (m *ProposalBlock) XXX_Unmarshal(b []byte) error + type RwSetVerifyFailTxs struct + BlockHeight uint64 + TxIds []string + func (*RwSetVerifyFailTxs) Descriptor() ([]byte, []int) + func (*RwSetVerifyFailTxs) ProtoMessage() + func (m *RwSetVerifyFailTxs) GetBlockHeight() uint64 + func (m *RwSetVerifyFailTxs) GetTxIds() []string + func (m *RwSetVerifyFailTxs) Marshal() (dAtA []byte, err error) + func (m *RwSetVerifyFailTxs) MarshalTo(dAtA []byte) (int, error) + func (m *RwSetVerifyFailTxs) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RwSetVerifyFailTxs) Reset() + func (m *RwSetVerifyFailTxs) Size() (n int) + func (m *RwSetVerifyFailTxs) String() string + func (m *RwSetVerifyFailTxs) Unmarshal(dAtA []byte) error + func (m *RwSetVerifyFailTxs) XXX_DiscardUnknown() + func (m *RwSetVerifyFailTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RwSetVerifyFailTxs) XXX_Merge(src proto.Message) + func (m *RwSetVerifyFailTxs) XXX_Size() int + func (m *RwSetVerifyFailTxs) XXX_Unmarshal(b []byte) error + type Validators struct + Nodes []string + func (*Validators) Descriptor() ([]byte, []int) + func (*Validators) ProtoMessage() + func (m *Validators) GetNodes() []string + func (m *Validators) Marshal() (dAtA []byte, err error) + func (m *Validators) MarshalTo(dAtA []byte) (int, error) + func (m *Validators) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Validators) Reset() + func (m *Validators) Size() (n int) + func (m *Validators) String() string + func (m *Validators) Unmarshal(dAtA []byte) error + func (m *Validators) XXX_DiscardUnknown() + func (m *Validators) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Validators) XXX_Merge(src proto.Message) + func (m *Validators) XXX_Size() int + func (m *Validators) XXX_Unmarshal(b []byte) error + type VerifyResult struct + Code VerifyResult_Code + Msg string + RwSetVerifyFailTxs *RwSetVerifyFailTxs + TxsRwSet map[string]*common.TxRWSet + VerifiedBlock *common.Block + func (*VerifyResult) Descriptor() ([]byte, []int) + func (*VerifyResult) ProtoMessage() + func (m *VerifyResult) GetCode() VerifyResult_Code + func (m *VerifyResult) GetMsg() string + func (m *VerifyResult) GetRwSetVerifyFailTxs() *RwSetVerifyFailTxs + func (m *VerifyResult) GetTxsRwSet() map[string]*common.TxRWSet + func (m *VerifyResult) GetVerifiedBlock() *common.Block + func (m *VerifyResult) Marshal() (dAtA []byte, err error) + func (m *VerifyResult) MarshalTo(dAtA []byte) (int, error) + func (m *VerifyResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VerifyResult) Reset() + func (m *VerifyResult) Size() (n int) + func (m *VerifyResult) String() string + func (m *VerifyResult) Unmarshal(dAtA []byte) error + func (m *VerifyResult) XXX_DiscardUnknown() + func (m *VerifyResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VerifyResult) XXX_Merge(src proto.Message) + func (m *VerifyResult) XXX_Size() int + func (m *VerifyResult) XXX_Unmarshal(b []byte) error + type VerifyResult_Code int32 + const VerifyResult_FAIL + const VerifyResult_SUCCESS + func (VerifyResult_Code) EnumDescriptor() ([]byte, []int) + func (x VerifyResult_Code) String() string Other modules containing this package chainmaker.org/chainmaker/pb-go/v2