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 ErrIntOverflowSync = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthSync = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupSync = fmt.Errorf("proto: unexpected end of group") + var SyncMsg_MsgType_name = map[int32]string + var SyncMsg_MsgType_value = map[string]int32 + type BlockBatch struct + Batches []*common.Block + func (*BlockBatch) Descriptor() ([]byte, []int) + func (*BlockBatch) ProtoMessage() + func (m *BlockBatch) GetBatches() []*common.Block + func (m *BlockBatch) Marshal() (dAtA []byte, err error) + func (m *BlockBatch) MarshalTo(dAtA []byte) (int, error) + func (m *BlockBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BlockBatch) Reset() + func (m *BlockBatch) Size() (n int) + func (m *BlockBatch) String() string + func (m *BlockBatch) Unmarshal(dAtA []byte) error + func (m *BlockBatch) XXX_DiscardUnknown() + func (m *BlockBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockBatch) XXX_Merge(src proto.Message) + func (m *BlockBatch) XXX_Size() int + func (m *BlockBatch) XXX_Unmarshal(b []byte) error + type BlockHeightBCM struct + ArchivedHeight uint64 + BlockHeight uint64 + func (*BlockHeightBCM) Descriptor() ([]byte, []int) + func (*BlockHeightBCM) ProtoMessage() + func (m *BlockHeightBCM) GetArchivedHeight() uint64 + func (m *BlockHeightBCM) GetBlockHeight() uint64 + func (m *BlockHeightBCM) Marshal() (dAtA []byte, err error) + func (m *BlockHeightBCM) MarshalTo(dAtA []byte) (int, error) + func (m *BlockHeightBCM) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BlockHeightBCM) Reset() + func (m *BlockHeightBCM) Size() (n int) + func (m *BlockHeightBCM) String() string + func (m *BlockHeightBCM) Unmarshal(dAtA []byte) error + func (m *BlockHeightBCM) XXX_DiscardUnknown() + func (m *BlockHeightBCM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockHeightBCM) XXX_Merge(src proto.Message) + func (m *BlockHeightBCM) XXX_Size() int + func (m *BlockHeightBCM) XXX_Unmarshal(b []byte) error + type BlockInfoBatch struct + Batch []*common.BlockInfo + func (*BlockInfoBatch) Descriptor() ([]byte, []int) + func (*BlockInfoBatch) ProtoMessage() + func (m *BlockInfoBatch) GetBatch() []*common.BlockInfo + func (m *BlockInfoBatch) Marshal() (dAtA []byte, err error) + func (m *BlockInfoBatch) MarshalTo(dAtA []byte) (int, error) + func (m *BlockInfoBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BlockInfoBatch) Reset() + func (m *BlockInfoBatch) Size() (n int) + func (m *BlockInfoBatch) String() string + func (m *BlockInfoBatch) Unmarshal(dAtA []byte) error + func (m *BlockInfoBatch) XXX_DiscardUnknown() + func (m *BlockInfoBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockInfoBatch) XXX_Merge(src proto.Message) + func (m *BlockInfoBatch) XXX_Size() int + func (m *BlockInfoBatch) XXX_Unmarshal(b []byte) error + type BlockSyncReq struct + BatchSize uint64 + BlockHeight uint64 + WithRwset bool + func (*BlockSyncReq) Descriptor() ([]byte, []int) + func (*BlockSyncReq) ProtoMessage() + func (m *BlockSyncReq) GetBatchSize() uint64 + func (m *BlockSyncReq) GetBlockHeight() uint64 + func (m *BlockSyncReq) GetWithRwset() bool + func (m *BlockSyncReq) Marshal() (dAtA []byte, err error) + func (m *BlockSyncReq) MarshalTo(dAtA []byte) (int, error) + func (m *BlockSyncReq) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BlockSyncReq) Reset() + func (m *BlockSyncReq) Size() (n int) + func (m *BlockSyncReq) String() string + func (m *BlockSyncReq) Unmarshal(dAtA []byte) error + func (m *BlockSyncReq) XXX_DiscardUnknown() + func (m *BlockSyncReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockSyncReq) XXX_Merge(src proto.Message) + func (m *BlockSyncReq) XXX_Size() int + func (m *BlockSyncReq) XXX_Unmarshal(b []byte) error + type SyncBlockBatch struct + Data isSyncBlockBatch_Data + WithRwset bool + func (*SyncBlockBatch) Descriptor() ([]byte, []int) + func (*SyncBlockBatch) ProtoMessage() + func (*SyncBlockBatch) XXX_OneofWrappers() []interface{} + func (m *SyncBlockBatch) GetBlockBatch() *BlockBatch + func (m *SyncBlockBatch) GetBlockinfoBatch() *BlockInfoBatch + func (m *SyncBlockBatch) GetData() isSyncBlockBatch_Data + func (m *SyncBlockBatch) GetWithRwset() bool + func (m *SyncBlockBatch) Marshal() (dAtA []byte, err error) + func (m *SyncBlockBatch) MarshalTo(dAtA []byte) (int, error) + func (m *SyncBlockBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SyncBlockBatch) Reset() + func (m *SyncBlockBatch) Size() (n int) + func (m *SyncBlockBatch) String() string + func (m *SyncBlockBatch) Unmarshal(dAtA []byte) error + func (m *SyncBlockBatch) XXX_DiscardUnknown() + func (m *SyncBlockBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SyncBlockBatch) XXX_Merge(src proto.Message) + func (m *SyncBlockBatch) XXX_Size() int + func (m *SyncBlockBatch) XXX_Unmarshal(b []byte) error + type SyncBlockBatch_BlockBatch struct + BlockBatch *BlockBatch + func (m *SyncBlockBatch_BlockBatch) MarshalTo(dAtA []byte) (int, error) + func (m *SyncBlockBatch_BlockBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SyncBlockBatch_BlockBatch) Size() (n int) + type SyncBlockBatch_BlockinfoBatch struct + BlockinfoBatch *BlockInfoBatch + func (m *SyncBlockBatch_BlockinfoBatch) MarshalTo(dAtA []byte) (int, error) + func (m *SyncBlockBatch_BlockinfoBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SyncBlockBatch_BlockinfoBatch) Size() (n int) + type SyncMsg struct + Payload []byte + Type SyncMsg_MsgType + func (*SyncMsg) Descriptor() ([]byte, []int) + func (*SyncMsg) ProtoMessage() + func (m *SyncMsg) GetPayload() []byte + func (m *SyncMsg) GetType() SyncMsg_MsgType + func (m *SyncMsg) Marshal() (dAtA []byte, err error) + func (m *SyncMsg) MarshalTo(dAtA []byte) (int, error) + func (m *SyncMsg) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SyncMsg) Reset() + func (m *SyncMsg) Size() (n int) + func (m *SyncMsg) String() string + func (m *SyncMsg) Unmarshal(dAtA []byte) error + func (m *SyncMsg) XXX_DiscardUnknown() + func (m *SyncMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SyncMsg) XXX_Merge(src proto.Message) + func (m *SyncMsg) XXX_Size() int + func (m *SyncMsg) XXX_Unmarshal(b []byte) error + type SyncMsg_MsgType int32 + const SyncMsg_BLOCK_SYNC_REQ + const SyncMsg_BLOCK_SYNC_RESP + const SyncMsg_NODE_STATUS_REQ + const SyncMsg_NODE_STATUS_RESP + func (SyncMsg_MsgType) EnumDescriptor() ([]byte, []int) + func (x SyncMsg_MsgType) String() string Other modules containing this package chainmaker.org/chainmaker/pb-go/v2