Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BitFieldContainsAll ¶
Checks whether bitfield `a` contains all bits set in bitfield `b`.
func BitFieldContainsAny ¶
Checks whether bitfield `a` contains any bit that is set in bitfield `b`.
Types ¶
type BitfieldQueue ¶
Wrapper for working with an AMT[ChainEpoch]*Bitfield functioning as a queue, bucketed by epoch. Keys in the queue are quantized (upwards), modulo some offset, to reduce the cardinality of keys.
func LoadBitfieldQueue ¶
func (BitfieldQueue) ForEach ¶
func (q BitfieldQueue) ForEach(cb func(epoch abi.ChainEpoch, bf bitfield.BitField) error) error
Iterates the queue.
Click to show internal directories.
Click to hide internal directories.