Documentation ¶
Index ¶
- Variables
- type BirdsNest
- func (*BirdsNest) Descriptor() ([]byte, []int)
- func (m *BirdsNest) GetConfig() []byte
- func (m *BirdsNest) GetCurrentIndex() uint32
- func (m *BirdsNest) GetFilters() []*CuckooFilter
- func (m *BirdsNest) GetHeight() uint64
- func (m *BirdsNest) Marshal() (dAtA []byte, err error)
- func (m *BirdsNest) MarshalTo(dAtA []byte) (int, error)
- func (m *BirdsNest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BirdsNest) ProtoMessage()
- func (m *BirdsNest) Reset()
- func (m *BirdsNest) Size() (n int)
- func (m *BirdsNest) String() string
- func (m *BirdsNest) Unmarshal(dAtA []byte) error
- func (m *BirdsNest) XXX_DiscardUnknown()
- func (m *BirdsNest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BirdsNest) XXX_Merge(src proto.Message)
- func (m *BirdsNest) XXX_Size() int
- func (m *BirdsNest) XXX_Unmarshal(b []byte) error
- type CuckooFilter
- func (*CuckooFilter) Descriptor() ([]byte, []int)
- func (m *CuckooFilter) GetConfig() []byte
- func (m *CuckooFilter) GetCuckoo() []byte
- func (m *CuckooFilter) GetExtension() []byte
- func (m *CuckooFilter) GetFull() bool
- func (m *CuckooFilter) Marshal() (dAtA []byte, err error)
- func (m *CuckooFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *CuckooFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CuckooFilter) ProtoMessage()
- func (m *CuckooFilter) Reset()
- func (m *CuckooFilter) Size() (n int)
- func (m *CuckooFilter) String() string
- func (m *CuckooFilter) Unmarshal(dAtA []byte) error
- func (m *CuckooFilter) XXX_DiscardUnknown()
- func (m *CuckooFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CuckooFilter) XXX_Merge(src proto.Message)
- func (m *CuckooFilter) XXX_Size() int
- func (m *CuckooFilter) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BirdsNest ¶
type BirdsNest struct { // Bird's Nest config Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // The final height Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // current index CurrentIndex uint32 `protobuf:"varint,3,opt,name=currentIndex,proto3" json:"currentIndex,omitempty"` // A group of cuckoos filter Filters []*CuckooFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` }
Bird's Nest
func (*BirdsNest) GetFilters ¶
func (m *BirdsNest) GetFilters() []*CuckooFilter
func (*BirdsNest) MarshalToSizedBuffer ¶
func (*BirdsNest) XXX_Marshal ¶
type CuckooFilter ¶
type CuckooFilter struct { // The field "cuckoo" is used to hold the serialized data of the cuckoo // Pb limit: The size of bytes cannot be larger than 4 GB Cuckoo []byte `protobuf:"bytes,1,opt,name=cuckoo,proto3" json:"cuckoo,omitempty"` // Carries the ID of the time Extension []byte `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"` // cuckoo configuration Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` // cuckoo configuration Full bool `protobuf:"varint,4,opt,name=full,proto3" json:"full,omitempty"` }
Chain table structure
func (*CuckooFilter) Descriptor ¶
func (*CuckooFilter) Descriptor() ([]byte, []int)
func (*CuckooFilter) GetConfig ¶
func (m *CuckooFilter) GetConfig() []byte
func (*CuckooFilter) GetCuckoo ¶
func (m *CuckooFilter) GetCuckoo() []byte
func (*CuckooFilter) GetExtension ¶
func (m *CuckooFilter) GetExtension() []byte
func (*CuckooFilter) GetFull ¶
func (m *CuckooFilter) GetFull() bool
func (*CuckooFilter) Marshal ¶
func (m *CuckooFilter) Marshal() (dAtA []byte, err error)
func (*CuckooFilter) MarshalTo ¶
func (m *CuckooFilter) MarshalTo(dAtA []byte) (int, error)
func (*CuckooFilter) MarshalToSizedBuffer ¶
func (m *CuckooFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CuckooFilter) ProtoMessage ¶
func (*CuckooFilter) ProtoMessage()
func (*CuckooFilter) Reset ¶
func (m *CuckooFilter) Reset()
func (*CuckooFilter) Size ¶
func (m *CuckooFilter) Size() (n int)
func (*CuckooFilter) String ¶
func (m *CuckooFilter) String() string
func (*CuckooFilter) Unmarshal ¶
func (m *CuckooFilter) Unmarshal(dAtA []byte) error
func (*CuckooFilter) XXX_DiscardUnknown ¶
func (m *CuckooFilter) XXX_DiscardUnknown()
func (*CuckooFilter) XXX_Marshal ¶
func (m *CuckooFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CuckooFilter) XXX_Merge ¶
func (m *CuckooFilter) XXX_Merge(src proto.Message)
func (*CuckooFilter) XXX_Size ¶
func (m *CuckooFilter) XXX_Size() int
func (*CuckooFilter) XXX_Unmarshal ¶
func (m *CuckooFilter) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.