Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 v0.0.1 Oct 30, 2023 Changes in this version + var ErrIntOverflowBootstrapData = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthBootstrapData = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrNilBootStorer = errors.New("nil boot storer") + var ErrNilMarshalizer = errors.New("nil Marshalizer") + var ErrUnexpectedEndOfGroupBootstrapData = fmt.Errorf("proto: unexpected end of group") + func NewBootstrapStorer(marshalizer marshal.Marshalizer, store storage.Storer) (*bootstrapStorer, error) + type BootstrapData struct + EpochStartTriggerConfigKey []byte + HighestFinalBlockNonce uint64 + LastCrossNotarizedHeaders []BootstrapHeaderInfo + LastHeader BootstrapHeaderInfo + LastRound int64 + LastSelfNotarizedHeaders []BootstrapHeaderInfo + NodesCoordinatorConfigKey []byte + PendingMiniBlocks []PendingMiniBlocksInfo + ProcessedMiniBlocks []MiniBlocksInMeta + func (*BootstrapData) Descriptor() ([]byte, []int) + func (*BootstrapData) ProtoMessage() + func (m *BootstrapData) GetEpochStartTriggerConfigKey() []byte + func (m *BootstrapData) GetHighestFinalBlockNonce() uint64 + func (m *BootstrapData) GetLastCrossNotarizedHeaders() []BootstrapHeaderInfo + func (m *BootstrapData) GetLastHeader() BootstrapHeaderInfo + func (m *BootstrapData) GetLastRound() int64 + func (m *BootstrapData) GetLastSelfNotarizedHeaders() []BootstrapHeaderInfo + func (m *BootstrapData) GetNodesCoordinatorConfigKey() []byte + func (m *BootstrapData) GetPendingMiniBlocks() []PendingMiniBlocksInfo + func (m *BootstrapData) GetProcessedMiniBlocks() []MiniBlocksInMeta + func (m *BootstrapData) Marshal() (dAtA []byte, err error) + func (m *BootstrapData) MarshalTo(dAtA []byte) (int, error) + func (m *BootstrapData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BootstrapData) Reset() + func (m *BootstrapData) Size() (n int) + func (m *BootstrapData) Unmarshal(dAtA []byte) error + func (m *BootstrapData) XXX_DiscardUnknown() + func (m *BootstrapData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BootstrapData) XXX_Merge(src proto.Message) + func (m *BootstrapData) XXX_Size() int + func (m *BootstrapData) XXX_Unmarshal(b []byte) error + func (this *BootstrapData) Equal(that interface{}) bool + func (this *BootstrapData) GoString() string + func (this *BootstrapData) String() string + type BootstrapHeaderInfo struct + Epoch uint32 + Hash []byte + Nonce uint64 + ShardId uint32 + func (*BootstrapHeaderInfo) Descriptor() ([]byte, []int) + func (*BootstrapHeaderInfo) ProtoMessage() + func (m *BootstrapHeaderInfo) GetEpoch() uint32 + func (m *BootstrapHeaderInfo) GetHash() []byte + func (m *BootstrapHeaderInfo) GetNonce() uint64 + func (m *BootstrapHeaderInfo) GetShardId() uint32 + func (m *BootstrapHeaderInfo) Marshal() (dAtA []byte, err error) + func (m *BootstrapHeaderInfo) MarshalTo(dAtA []byte) (int, error) + func (m *BootstrapHeaderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BootstrapHeaderInfo) Reset() + func (m *BootstrapHeaderInfo) Size() (n int) + func (m *BootstrapHeaderInfo) Unmarshal(dAtA []byte) error + func (m *BootstrapHeaderInfo) XXX_DiscardUnknown() + func (m *BootstrapHeaderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BootstrapHeaderInfo) XXX_Merge(src proto.Message) + func (m *BootstrapHeaderInfo) XXX_Size() int + func (m *BootstrapHeaderInfo) XXX_Unmarshal(b []byte) error + func (this *BootstrapHeaderInfo) Equal(that interface{}) bool + func (this *BootstrapHeaderInfo) GoString() string + func (this *BootstrapHeaderInfo) String() string + type MiniBlocksInMeta struct + MetaHash []byte + MiniBlocksHashes [][]byte + func (*MiniBlocksInMeta) Descriptor() ([]byte, []int) + func (*MiniBlocksInMeta) ProtoMessage() + func (m *MiniBlocksInMeta) GetMetaHash() []byte + func (m *MiniBlocksInMeta) GetMiniBlocksHashes() [][]byte + func (m *MiniBlocksInMeta) Marshal() (dAtA []byte, err error) + func (m *MiniBlocksInMeta) MarshalTo(dAtA []byte) (int, error) + func (m *MiniBlocksInMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MiniBlocksInMeta) Reset() + func (m *MiniBlocksInMeta) Size() (n int) + func (m *MiniBlocksInMeta) Unmarshal(dAtA []byte) error + func (m *MiniBlocksInMeta) XXX_DiscardUnknown() + func (m *MiniBlocksInMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MiniBlocksInMeta) XXX_Merge(src proto.Message) + func (m *MiniBlocksInMeta) XXX_Size() int + func (m *MiniBlocksInMeta) XXX_Unmarshal(b []byte) error + func (this *MiniBlocksInMeta) Equal(that interface{}) bool + func (this *MiniBlocksInMeta) GoString() string + func (this *MiniBlocksInMeta) String() string + type PendingMiniBlocksInfo struct + MiniBlocksHashes [][]byte + ShardID uint32 + func (*PendingMiniBlocksInfo) Descriptor() ([]byte, []int) + func (*PendingMiniBlocksInfo) ProtoMessage() + func (m *PendingMiniBlocksInfo) GetMiniBlocksHashes() [][]byte + func (m *PendingMiniBlocksInfo) GetShardID() uint32 + func (m *PendingMiniBlocksInfo) Marshal() (dAtA []byte, err error) + func (m *PendingMiniBlocksInfo) MarshalTo(dAtA []byte) (int, error) + func (m *PendingMiniBlocksInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PendingMiniBlocksInfo) Reset() + func (m *PendingMiniBlocksInfo) Size() (n int) + func (m *PendingMiniBlocksInfo) Unmarshal(dAtA []byte) error + func (m *PendingMiniBlocksInfo) XXX_DiscardUnknown() + func (m *PendingMiniBlocksInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PendingMiniBlocksInfo) XXX_Merge(src proto.Message) + func (m *PendingMiniBlocksInfo) XXX_Size() int + func (m *PendingMiniBlocksInfo) XXX_Unmarshal(b []byte) error + func (this *PendingMiniBlocksInfo) Equal(that interface{}) bool + func (this *PendingMiniBlocksInfo) GoString() string + func (this *PendingMiniBlocksInfo) String() string + type RoundNum struct + Num int64 + func (*RoundNum) Descriptor() ([]byte, []int) + func (*RoundNum) ProtoMessage() + func (m *RoundNum) GetNum() int64 + func (m *RoundNum) Marshal() (dAtA []byte, err error) + func (m *RoundNum) MarshalTo(dAtA []byte) (int, error) + func (m *RoundNum) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RoundNum) Reset() + func (m *RoundNum) Size() (n int) + func (m *RoundNum) Unmarshal(dAtA []byte) error + func (m *RoundNum) XXX_DiscardUnknown() + func (m *RoundNum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RoundNum) XXX_Merge(src proto.Message) + func (m *RoundNum) XXX_Size() int + func (m *RoundNum) XXX_Unmarshal(b []byte) error + func (this *RoundNum) Equal(that interface{}) bool + func (this *RoundNum) GoString() string + func (this *RoundNum) String() string