Stages a batch of mempool additions and associated removals to be applied atomically.
Synopsis
Declared in <txmempool.h>
class ChangeSet;
Type Aliases
Name |
Description |
Handle identifying a transaction staged in this changeset. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy the changeset, aborting any staging that was not applied. |
|
Deleted copy assignment; a changeset is not copyable. |
Apply the staged removals and additions to the mempool. |
|
Calculate the sorted chunks for the old and new mempool relating to the clusters that would be affected by a potential replacement transaction. |
|
Calculate the in‐mempool ancestors of a staged transaction, caching the result. |
|
Check if any cluster limits are exceeded. Returns true if pass, false if fail. |
|
Returns the staged added transaction at the given index. |
|
Returns the transactions staged for addition, in insertion order. |
|
Returns the set of transactions staged for removal. |
|
Returns the number of transactions staged for addition. |
|
Stage a transaction for addition to the mempool. |
|
Stage a transaction for removal from the mempool. |
Friends
Name |
Description |
The node's memory pool of unconfirmed transactions. |
Non-Member Functions
Name |
Description |
The replacement transaction must improve the feerate diagram of the mempool. |
Created with MrDocs