Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LatestSeal ¶
type LatestSeal struct {
// contains filtered or unexported fields
}
LatestSeal is a mempool ejector for block seals that ejects newest-first. NOTE: should be initialized with its own headers instance with cache size equal to the mempool size.
func NewLatestSeal ¶
func NewLatestSeal(headers storage.Headers) *LatestSeal
func (*LatestSeal) Eject ¶
func (ls *LatestSeal) Eject(entities map[flow.Identifier]flow.Entity) (flow.Identifier, flow.Entity)
Click to show internal directories.
Click to hide internal directories.