CTxMemPoolEntry stores data about the corresponding transaction, as well as data about all in‐mempool transactions that depend on the transaction ("descendant" transactions).
Synopsis
Declared in <kernel/mempool_entry.h>
class CTxMemPoolEntry
: public TxGraph::Ref
Description
When a new entry is added to the mempool, we update the descendant state (m_count_with_descendants, nSizeWithDescendants, and nModFeesWithDescendants) for all ancestors of the newly added transaction.
Base Classes
Name |
Description |
Data type used to reference transactions within a TxGraph. |
Type Aliases
Name |
Description |
A reference to a constant mempool entry. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroys the mempool entry. |
Assignment operators |
|
Returns the dynamic memory used by the entry. |
|
Returns the sigop‐adjusted weight of the transaction. |
|
Returns the fee the transaction paid. |
|
Returns the chain height when the transaction entered the mempool. |
|
Returns the lock points of the transaction. |
|
Returns the fee adjusted for mining priority. |
|
Returns the sequence number assigned to the transaction. |
|
Returns a shared pointer to the stored transaction. |
|
Returns the total sigop cost of the transaction. |
|
Returns whether the transaction spends a coinbase output. |
|
Returns the local time when the transaction entered the mempool. |
|
Returns the stored transaction. |
|
Returns the virtual size of the transaction. |
|
Returns the weight of the transaction. |
|
Updates the lock points after a reorg. |
|
Updates the modified fee with the descendant or ancestor delta. |
Data Members
Name |
Description |
Index in mempool's txns_randomized |
Created with MrDocs