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 + var NewEvents = event.CreateGroupConstructor(func() (newEvents *Events) { ... }) + type Events struct + MemPool *mempool.Events + type Ledger interface + ApplyStateDiff func(slot.Index) error + Events func() *Events + Export func(io.WriteSeeker, slot.Index) error + Import func(io.ReadSeeker) error + MemPool func() mempool.MemPool + StateDiffs func() StateDiffs + UnspentOutputs func() UnspentOutputs + type StateDiffs interface + StreamCreatedOutputs func(slot.Index, func(*mempool.OutputWithMetadata) error) error + StreamSpentOutputs func(slot.Index, func(*mempool.OutputWithMetadata) error) error + type UnspentOutputs interface + ApplyCreatedOutput func(*mempool.OutputWithMetadata) error + IDs func() *ads.Set[utxo.OutputID, *utxo.OutputID] + Subscribe func(UnspentOutputsSubscriber) + Unsubscribe func(UnspentOutputsSubscriber) + type UnspentOutputsSubscriber interface + ApplyCreatedOutput func(*mempool.OutputWithMetadata) error + ApplySpentOutput func(*mempool.OutputWithMetadata) error + BeginBatchedStateTransition func(slot.Index) (currentSlot slot.Index, err error) + CommitBatchedStateTransition func() context.Context + RollbackCreatedOutput func(*mempool.OutputWithMetadata) error + RollbackSpentOutput func(*mempool.OutputWithMetadata) error