Bitcoin ABC  0.26.3
P2P Digital Currency
Classes | Enumerations | Variables
txmempool.h File Reference
#include <coins.h>
#include <consensus/amount.h>
#include <core_memusage.h>
#include <indirectmap.h>
#include <kernel/cs_main.h>
#include <kernel/mempool_entry.h>
#include <kernel/mempool_options.h>
#include <policy/packages.h>
#include <primitives/transaction.h>
#include <radix.h>
#include <sync.h>
#include <uint256radixkey.h>
#include <util/hasher.h>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/multi_index_container.hpp>
#include <atomic>
#include <map>
#include <optional>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
Include dependency graph for txmempool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mempoolentry_txid
 
struct  MemPoolEntryRadixTreeAdapter
 Radix tree adapter for storing a CTxMemPoolEntry as a tree element. More...
 
struct  CompareTxMemPoolEntryByEntryTime
 
struct  CompareTxMemPoolEntryByEntryId
 
class  CompareTxMemPoolEntryByModifiedFeeRate
 Sort by feerate of entry (modfee/vsize) in descending order. More...
 
struct  entry_time
 
struct  modified_feerate
 
struct  entry_id
 
struct  TxMempoolInfo
 Information about a mempool transaction. More...
 
class  CTxMemPool
 CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the next block. More...
 
class  CCoinsViewMemPool
 CCoinsView that brings transactions from a mempool into view. More...
 

Enumerations

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

Variables

static const uint32_t MEMPOOL_HEIGHT = 0x7FFFFFFF
 Fake height value used in Coins to signify they are only in the memory pool(since 0.8) More...
 

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.

AVALANCHE 

Removed by avalanche vote.

Definition at line 148 of file txmempool.h.

Variable Documentation

◆ MEMPOOL_HEIGHT

const uint32_t MEMPOOL_HEIGHT = 0x7FFFFFFF
static

Fake height value used in Coins to signify they are only in the memory pool(since 0.8)

Definition at line 45 of file txmempool.h.