Versions in this module Expand all Collapse all v3 v3.0.1 Dec 25, 2023 v3.0.0 Dec 23, 2022 Changes in this version + var ErrIntOverflowAbft = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthAbft = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAbft = fmt.Errorf("proto: unexpected end of group") + var ErrorCode_name = map[int32]string + var ErrorCode_value = map[string]int32 + type ABFTMessage struct + Message isABFTMessage_Message + func (*ABFTMessage) Descriptor() ([]byte, []int) + func (*ABFTMessage) ProtoMessage() + func (*ABFTMessage) XXX_OneofWrappers() []interface{} + func (m *ABFTMessage) GetMessage() isABFTMessage_Message + func (m *ABFTMessage) GetReq() *ABFTMessageReq + func (m *ABFTMessage) GetRsp() *ABFTMessageRsp + func (m *ABFTMessage) Marshal() (dAtA []byte, err error) + func (m *ABFTMessage) MarshalTo(dAtA []byte) (int, error) + func (m *ABFTMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ABFTMessage) Reset() + func (m *ABFTMessage) Size() (n int) + func (m *ABFTMessage) String() string + func (m *ABFTMessage) Unmarshal(dAtA []byte) error + func (m *ABFTMessage) XXX_DiscardUnknown() + func (m *ABFTMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ABFTMessage) XXX_Merge(src proto.Message) + func (m *ABFTMessage) XXX_Size() int + func (m *ABFTMessage) XXX_Unmarshal(b []byte) error + type ABFTMessageReq struct + Acs *ACSMessage + From string + Height uint64 + Id string + Seq uint64 + To string + func (*ABFTMessageReq) Descriptor() ([]byte, []int) + func (*ABFTMessageReq) ProtoMessage() + func (m *ABFTMessageReq) GetAcs() *ACSMessage + func (m *ABFTMessageReq) GetFrom() string + func (m *ABFTMessageReq) GetHeight() uint64 + func (m *ABFTMessageReq) GetId() string + func (m *ABFTMessageReq) GetSeq() uint64 + func (m *ABFTMessageReq) GetTo() string + func (m *ABFTMessageReq) Marshal() (dAtA []byte, err error) + func (m *ABFTMessageReq) MarshalTo(dAtA []byte) (int, error) + func (m *ABFTMessageReq) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ABFTMessageReq) Reset() + func (m *ABFTMessageReq) Size() (n int) + func (m *ABFTMessageReq) String() string + func (m *ABFTMessageReq) Unmarshal(dAtA []byte) error + func (m *ABFTMessageReq) XXX_DiscardUnknown() + func (m *ABFTMessageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ABFTMessageReq) XXX_Merge(src proto.Message) + func (m *ABFTMessageReq) XXX_Size() int + func (m *ABFTMessageReq) XXX_Unmarshal(b []byte) error + type ABFTMessageRsp struct + Code ErrorCode + From string + Height uint64 + Id string + Seq uint64 + To string + func (*ABFTMessageRsp) Descriptor() ([]byte, []int) + func (*ABFTMessageRsp) ProtoMessage() + func (m *ABFTMessageRsp) GetCode() ErrorCode + func (m *ABFTMessageRsp) GetFrom() string + func (m *ABFTMessageRsp) GetHeight() uint64 + func (m *ABFTMessageRsp) GetId() string + func (m *ABFTMessageRsp) GetSeq() uint64 + func (m *ABFTMessageRsp) GetTo() string + func (m *ABFTMessageRsp) Marshal() (dAtA []byte, err error) + func (m *ABFTMessageRsp) MarshalTo(dAtA []byte) (int, error) + func (m *ABFTMessageRsp) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ABFTMessageRsp) Reset() + func (m *ABFTMessageRsp) Size() (n int) + func (m *ABFTMessageRsp) String() string + func (m *ABFTMessageRsp) Unmarshal(dAtA []byte) error + func (m *ABFTMessageRsp) XXX_DiscardUnknown() + func (m *ABFTMessageRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ABFTMessageRsp) XXX_Merge(src proto.Message) + func (m *ABFTMessageRsp) XXX_Size() int + func (m *ABFTMessageRsp) XXX_Unmarshal(b []byte) error + type ABFTMessage_Req struct + Req *ABFTMessageReq + func (m *ABFTMessage_Req) MarshalTo(dAtA []byte) (int, error) + func (m *ABFTMessage_Req) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ABFTMessage_Req) Size() (n int) + type ABFTMessage_Rsp struct + Rsp *ABFTMessageRsp + func (m *ABFTMessage_Rsp) MarshalTo(dAtA []byte) (int, error) + func (m *ABFTMessage_Rsp) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ABFTMessage_Rsp) Size() (n int) + type ACSMessage struct + Message isACSMessage_Message + func (*ACSMessage) Descriptor() ([]byte, []int) + func (*ACSMessage) ProtoMessage() + func (*ACSMessage) XXX_OneofWrappers() []interface{} + func (m *ACSMessage) GetBba() *BBARequest + func (m *ACSMessage) GetMessage() isACSMessage_Message + func (m *ACSMessage) GetRbc() *RBCRequest + func (m *ACSMessage) Marshal() (dAtA []byte, err error) + func (m *ACSMessage) MarshalTo(dAtA []byte) (int, error) + func (m *ACSMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ACSMessage) Reset() + func (m *ACSMessage) Size() (n int) + func (m *ACSMessage) String() string + func (m *ACSMessage) Unmarshal(dAtA []byte) error + func (m *ACSMessage) XXX_DiscardUnknown() + func (m *ACSMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ACSMessage) XXX_Merge(src proto.Message) + func (m *ACSMessage) XXX_Size() int + func (m *ACSMessage) XXX_Unmarshal(b []byte) error + type ACSMessage_Bba struct + Bba *BBARequest + func (m *ACSMessage_Bba) MarshalTo(dAtA []byte) (int, error) + func (m *ACSMessage_Bba) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ACSMessage_Bba) Size() (n int) + type ACSMessage_Rbc struct + Rbc *RBCRequest + func (m *ACSMessage_Rbc) MarshalTo(dAtA []byte) (int, error) + func (m *ACSMessage_Rbc) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ACSMessage_Rbc) Size() (n int) + type AuxRequest struct + Epoch uint32 + Value bool + func (*AuxRequest) Descriptor() ([]byte, []int) + func (*AuxRequest) ProtoMessage() + func (m *AuxRequest) GetEpoch() uint32 + func (m *AuxRequest) GetValue() bool + func (m *AuxRequest) Marshal() (dAtA []byte, err error) + func (m *AuxRequest) MarshalTo(dAtA []byte) (int, error) + func (m *AuxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AuxRequest) Reset() + func (m *AuxRequest) Size() (n int) + func (m *AuxRequest) String() string + func (m *AuxRequest) Unmarshal(dAtA []byte) error + func (m *AuxRequest) XXX_DiscardUnknown() + func (m *AuxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuxRequest) XXX_Merge(src proto.Message) + func (m *AuxRequest) XXX_Size() int + func (m *AuxRequest) XXX_Unmarshal(b []byte) error + type BBARequest struct + Message isBBARequest_Message + func (*BBARequest) Descriptor() ([]byte, []int) + func (*BBARequest) ProtoMessage() + func (*BBARequest) XXX_OneofWrappers() []interface{} + func (m *BBARequest) GetAux() *AuxRequest + func (m *BBARequest) GetBval() *BValRequest + func (m *BBARequest) GetMessage() isBBARequest_Message + func (m *BBARequest) Marshal() (dAtA []byte, err error) + func (m *BBARequest) MarshalTo(dAtA []byte) (int, error) + func (m *BBARequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BBARequest) Reset() + func (m *BBARequest) Size() (n int) + func (m *BBARequest) String() string + func (m *BBARequest) Unmarshal(dAtA []byte) error + func (m *BBARequest) XXX_DiscardUnknown() + func (m *BBARequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BBARequest) XXX_Merge(src proto.Message) + func (m *BBARequest) XXX_Size() int + func (m *BBARequest) XXX_Unmarshal(b []byte) error + type BBARequest_Aux struct + Aux *AuxRequest + func (m *BBARequest_Aux) MarshalTo(dAtA []byte) (int, error) + func (m *BBARequest_Aux) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BBARequest_Aux) Size() (n int) + type BBARequest_Bval struct + Bval *BValRequest + func (m *BBARequest_Bval) MarshalTo(dAtA []byte) (int, error) + func (m *BBARequest_Bval) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BBARequest_Bval) Size() (n int) + type BValRequest struct + Epoch uint32 + Value bool + func (*BValRequest) Descriptor() ([]byte, []int) + func (*BValRequest) ProtoMessage() + func (m *BValRequest) GetEpoch() uint32 + func (m *BValRequest) GetValue() bool + func (m *BValRequest) Marshal() (dAtA []byte, err error) + func (m *BValRequest) MarshalTo(dAtA []byte) (int, error) + func (m *BValRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BValRequest) Reset() + func (m *BValRequest) Size() (n int) + func (m *BValRequest) String() string + func (m *BValRequest) Unmarshal(dAtA []byte) error + func (m *BValRequest) XXX_DiscardUnknown() + func (m *BValRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BValRequest) XXX_Merge(src proto.Message) + func (m *BValRequest) XXX_Size() int + func (m *BValRequest) XXX_Unmarshal(b []byte) error + type EchoRequest struct + ProofRequest *ProofRequest + func (*EchoRequest) Descriptor() ([]byte, []int) + func (*EchoRequest) ProtoMessage() + func (m *EchoRequest) GetProofRequest() *ProofRequest + func (m *EchoRequest) Marshal() (dAtA []byte, err error) + func (m *EchoRequest) MarshalTo(dAtA []byte) (int, error) + func (m *EchoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EchoRequest) Reset() + func (m *EchoRequest) Size() (n int) + func (m *EchoRequest) String() string + func (m *EchoRequest) Unmarshal(dAtA []byte) error + func (m *EchoRequest) XXX_DiscardUnknown() + func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EchoRequest) XXX_Merge(src proto.Message) + func (m *EchoRequest) XXX_Size() int + func (m *EchoRequest) XXX_Unmarshal(b []byte) error + type ErrorCode int32 + const ErrorCode_FailOfOutdatedHeight + const ErrorCode_FailOfUnkown + const ErrorCode_Success + func (ErrorCode) EnumDescriptor() ([]byte, []int) + func (x ErrorCode) String() string + type PackagedSignal struct + BlockHeight uint64 + func (*PackagedSignal) Descriptor() ([]byte, []int) + func (*PackagedSignal) ProtoMessage() + func (m *PackagedSignal) GetBlockHeight() uint64 + func (m *PackagedSignal) Marshal() (dAtA []byte, err error) + func (m *PackagedSignal) MarshalTo(dAtA []byte) (int, error) + func (m *PackagedSignal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PackagedSignal) Reset() + func (m *PackagedSignal) Size() (n int) + func (m *PackagedSignal) String() string + func (m *PackagedSignal) Unmarshal(dAtA []byte) error + func (m *PackagedSignal) XXX_DiscardUnknown() + func (m *PackagedSignal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PackagedSignal) XXX_Merge(src proto.Message) + func (m *PackagedSignal) XXX_Size() int + func (m *PackagedSignal) XXX_Unmarshal(b []byte) error + type ProofRequest struct + Index uint64 + Leaves uint64 + Length int32 + Proof [][]byte + RootHash []byte + func (*ProofRequest) Descriptor() ([]byte, []int) + func (*ProofRequest) ProtoMessage() + func (m *ProofRequest) GetIndex() uint64 + func (m *ProofRequest) GetLeaves() uint64 + func (m *ProofRequest) GetLength() int32 + func (m *ProofRequest) GetProof() [][]byte + func (m *ProofRequest) GetRootHash() []byte + func (m *ProofRequest) Marshal() (dAtA []byte, err error) + func (m *ProofRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ProofRequest) Reset() + func (m *ProofRequest) Size() (n int) + func (m *ProofRequest) String() string + func (m *ProofRequest) Unmarshal(dAtA []byte) error + func (m *ProofRequest) XXX_DiscardUnknown() + func (m *ProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ProofRequest) XXX_Merge(src proto.Message) + func (m *ProofRequest) XXX_Size() int + func (m *ProofRequest) XXX_Unmarshal(b []byte) error + type RBCRequest struct + Message isRBCRequest_Message + func (*RBCRequest) Descriptor() ([]byte, []int) + func (*RBCRequest) ProtoMessage() + func (*RBCRequest) XXX_OneofWrappers() []interface{} + func (m *RBCRequest) GetEchoRequest() *EchoRequest + func (m *RBCRequest) GetMessage() isRBCRequest_Message + func (m *RBCRequest) GetProofRequest() *ProofRequest + func (m *RBCRequest) GetReadyRequest() *ReadyRequest + func (m *RBCRequest) Marshal() (dAtA []byte, err error) + func (m *RBCRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RBCRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RBCRequest) Reset() + func (m *RBCRequest) Size() (n int) + func (m *RBCRequest) String() string + func (m *RBCRequest) Unmarshal(dAtA []byte) error + func (m *RBCRequest) XXX_DiscardUnknown() + func (m *RBCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RBCRequest) XXX_Merge(src proto.Message) + func (m *RBCRequest) XXX_Size() int + func (m *RBCRequest) XXX_Unmarshal(b []byte) error + type RBCRequest_EchoRequest struct + EchoRequest *EchoRequest + func (m *RBCRequest_EchoRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RBCRequest_EchoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RBCRequest_EchoRequest) Size() (n int) + type RBCRequest_ProofRequest struct + ProofRequest *ProofRequest + func (m *RBCRequest_ProofRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RBCRequest_ProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RBCRequest_ProofRequest) Size() (n int) + type RBCRequest_ReadyRequest struct + ReadyRequest *ReadyRequest + func (m *RBCRequest_ReadyRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RBCRequest_ReadyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RBCRequest_ReadyRequest) Size() (n int) + type ReadyRequest struct + RootHash []byte + func (*ReadyRequest) Descriptor() ([]byte, []int) + func (*ReadyRequest) ProtoMessage() + func (m *ReadyRequest) GetRootHash() []byte + func (m *ReadyRequest) Marshal() (dAtA []byte, err error) + func (m *ReadyRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ReadyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ReadyRequest) Reset() + func (m *ReadyRequest) Size() (n int) + func (m *ReadyRequest) String() string + func (m *ReadyRequest) Unmarshal(dAtA []byte) error + func (m *ReadyRequest) XXX_DiscardUnknown() + func (m *ReadyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadyRequest) XXX_Merge(src proto.Message) + func (m *ReadyRequest) XXX_Size() int + func (m *ReadyRequest) XXX_Unmarshal(b []byte) error + type TxBatchAfterABA struct + BlockHeight uint64 + TxBatchHash [][]byte + func (*TxBatchAfterABA) Descriptor() ([]byte, []int) + func (*TxBatchAfterABA) ProtoMessage() + func (m *TxBatchAfterABA) GetBlockHeight() uint64 + func (m *TxBatchAfterABA) GetTxBatchHash() [][]byte + func (m *TxBatchAfterABA) Marshal() (dAtA []byte, err error) + func (m *TxBatchAfterABA) MarshalTo(dAtA []byte) (int, error) + func (m *TxBatchAfterABA) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TxBatchAfterABA) Reset() + func (m *TxBatchAfterABA) Size() (n int) + func (m *TxBatchAfterABA) String() string + func (m *TxBatchAfterABA) Unmarshal(dAtA []byte) error + func (m *TxBatchAfterABA) XXX_DiscardUnknown() + func (m *TxBatchAfterABA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TxBatchAfterABA) XXX_Merge(src proto.Message) + func (m *TxBatchAfterABA) XXX_Size() int + func (m *TxBatchAfterABA) XXX_Unmarshal(b []byte) error + type WalEntry struct + Data []byte + Height uint64 + HeightFirstIndex uint64 + Topic int32 + func (*WalEntry) Descriptor() ([]byte, []int) + func (*WalEntry) ProtoMessage() + func (m *WalEntry) GetData() []byte + func (m *WalEntry) GetHeight() uint64 + func (m *WalEntry) GetHeightFirstIndex() uint64 + func (m *WalEntry) GetTopic() int32 + func (m *WalEntry) Marshal() (dAtA []byte, err error) + func (m *WalEntry) MarshalTo(dAtA []byte) (int, error) + func (m *WalEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WalEntry) Reset() + func (m *WalEntry) Size() (n int) + func (m *WalEntry) String() string + func (m *WalEntry) Unmarshal(dAtA []byte) error + func (m *WalEntry) XXX_DiscardUnknown() + func (m *WalEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WalEntry) XXX_Merge(src proto.Message) + func (m *WalEntry) XXX_Size() int + func (m *WalEntry) XXX_Unmarshal(b []byte) error Other modules containing this package chainmaker.org/chainmaker/pb-go/v2