The mempool transactions can be queried using
Transactions() []types.Transaction.
The next Mempool change can be queried using NextEvent() (Event, error). The Event contains the transactions that are added and
removed.
The Mempool resulting from that Event can be derived using
ApplyEvent(event) error
A mempool for a time t is reconstructed by querying all
transactions with tx.FirstSeen <= t < t.LastRemoved.
If the best block at the queried time was reorged (unlikely), a
mempool is constructed at the common ancestor block and updated until
the requested time is reached.
A Mempool can be constructed using
NewMempoolAtTime(Storage, Time)
NewMempoolAtBlock(Storage, StoredBlock)
The mempool transactions can be queried using
Transactions() []types.Transaction
.The next Mempool change can be queried using
NextEvent() (Event, error)
. TheEvent
contains the transactions that are added and removed.The Mempool resulting from that
Event
can be derived usingApplyEvent(event) error
A mempool for a time
t
is reconstructed by querying all transactions withtx.FirstSeen <= t < t.LastRemoved
.If the best block at the queried time was reorged (unlikely), a mempool is constructed at the common ancestor block and updated until the requested time is reached.