Bitcoin Core  27.99.0
P2P Digital Currency
Enumerations | Functions
mempool_removal_reason.h File Reference
#include <string>
Include dependency graph for mempool_removal_reason.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  MemPoolRemovalReason {
  EXPIRY , SIZELIMIT , REORG , BLOCK ,
  CONFLICT , REPLACED
}
 Reason why a transaction was removed from the mempool, this is passed to the notification signal. More...
 

Functions

std::string RemovalReasonToString (const MemPoolRemovalReason &r) noexcept
 

Enumeration Type Documentation

◆ MemPoolRemovalReason

enum MemPoolRemovalReason
strong

Reason why a transaction was removed from the mempool, this is passed to the notification signal.

Enumerator
EXPIRY 

Expired from mempool.

SIZELIMIT 

Removed in size limiting.

REORG 

Removed for reorganization.

BLOCK 

Removed for block.

CONFLICT 

Removed for conflict with in-block transaction.

REPLACED 

Removed for replacement.

Definition at line 13 of file mempool_removal_reason.h.

Function Documentation

◆ RemovalReasonToString()

std::string RemovalReasonToString ( const MemPoolRemovalReason r)
noexcept

Definition at line 10 of file mempool_removal_reason.cpp.