Versions in this module Expand all Collapse all v0 v0.1.1 Oct 1, 2023 v0.1.0 Sep 29, 2023 Changes in this version + func NewDefaultTestFramework(t *testing.T, workers *workerpool.Group, ledger mempool.MemPool, ...) *booker.TestFramework + func NewProvider(opts ...options.Option[Booker]) module.Provider[*engine.Engine, booker.Booker] + func WithMarkerManagerOptions(...) options.Option[Booker] + func WithSequenceCutoffCallback(sequenceCutoffCallback func(id markers.SequenceID) markers.Index) options.Option[Booker] + func WithSlotCutoffCallback(slotCutoffCallback func() slot.Index) options.Option[Booker] + type Booker struct + MemPool mempool.MemPool + func New(workers *workerpool.Group, evictionState *eviction.State, ...) *Booker + func (b *Booker) Block(id models.BlockID) (block *booker.Block, exists bool) + func (b *Booker) BlockBookingDetails(block *booker.Block) (pastMarkersConflictIDs, blockConflictIDs utxo.TransactionIDs) + func (b *Booker) BlockCeiling(marker markers.Marker) (ceilingMarker markers.Marker, exists bool) + func (b *Booker) BlockConflicts(block *booker.Block) (blockConflictIDs utxo.TransactionIDs) + func (b *Booker) BlockFloor(marker markers.Marker) (floorMarker markers.Marker, exists bool) + func (b *Booker) BlockFromMarker(marker markers.Marker) (block *booker.Block, exists bool) + func (b *Booker) Events() *booker.Events + func (b *Booker) EvictSequence(sequenceID markers.SequenceID) + func (b *Booker) EvictSlotTracker(slotIndex slot.Index) + func (b *Booker) GetAllAttachments(txID utxo.TransactionID) (attachments *advancedset.AdvancedSet[*booker.Block]) + func (b *Booker) GetEarliestAttachment(txID utxo.TransactionID) (attachment *booker.Block) + func (b *Booker) GetLatestAttachment(txID utxo.TransactionID) (attachment *booker.Block) + func (b *Booker) Initialize(blockDAG blockdag.BlockDAG) + func (b *Booker) MarkerVotersTotalWeight(marker markers.Marker) (totalWeight int64) + func (b *Booker) OrphanAttachment(block *booker.Block) + func (b *Booker) PayloadConflictID(block *booker.Block) (conflictID utxo.TransactionID, conflictingConflictIDs utxo.TransactionIDs, ...) + func (b *Booker) ProcessForkedMarker(marker markers.Marker, forkedConflictID utxo.TransactionID, ...) + func (b *Booker) PropagateForkedConflict(transactionID, addedConflictID utxo.TransactionID, ...) (err error) + func (b *Booker) Queue(block *booker.Block) (wasQueued bool, err error) + func (b *Booker) Sequence(id markers.SequenceID) (sequence *markers.Sequence, exists bool) + func (b *Booker) SequenceManager() *markers.SequenceManager + func (b *Booker) SequenceTracker() *sequencetracker.SequenceTracker[booker.BlockVotePower] + func (b *Booker) SlotVotersTotalWeight(slotIndex slot.Index) (totalWeight int64) + func (b *Booker) TransactionConflictIDs(block *booker.Block) (conflictIDs utxo.TransactionIDs) + func (b *Booker) VirtualVoting() booker.VirtualVoting