Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

txmempool.h File Reference
#include <memory>
#include <set>
#include <map>
#include <vector>
#include <utility>
#include <string>
#include <addressindex.h>
#include <spentindex.h>
#include <amount.h>
#include <coins.h>
#include <indirectmap.h>
#include <policy/feerate.h>
#include <primitives/transaction.h>
#include <sync.h>
#include <random.h>
#include <netaddress.h>
#include <bls/bls.h>
#include <pubkey.h>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/signals2/signal.hpp>
+ 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  LockPoints
 
class  CTxMemPoolEntry
 CTxMemPoolEntry stores data about the corresponding transaction, as well as data about all in-mempool transactions that depend on the transaction ("descendant" transactions). More...
 
struct  update_descendant_state
 
struct  update_ancestor_state
 
struct  update_fee_delta
 
struct  update_lock_points
 
struct  mempoolentry_txid
 
class  CompareTxMemPoolEntryByDescendantScore
 Sort an entry by max(score/size of entry's tx, score/size with all descendants). More...
 
class  CompareTxMemPoolEntryByScore
 Sort by score of entry ((fee+delta)/size) in descending order. More...
 
class  CompareTxMemPoolEntryByEntryTime
 
class  CompareTxMemPoolEntryByAncestorFee
 
struct  descendant_score
 
struct  entry_time
 
struct  ancestor_score
 
struct  TxMempoolInfo
 Information about a mempool transaction. More...
 
class  SaltedTxidHasher
 
class  CTxMemPool
 CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the next block. More...
 
struct  CTxMemPool::CompareIteratorByHash
 
struct  CTxMemPool::TxLinks
 
class  CCoinsViewMemPool
 CCoinsView that brings transactions from a memorypool into view. More...
 
struct  txid_index
 DisconnectedBlockTransactions. More...
 
struct  insertion_order
 
struct  DisconnectedBlockTransactions
 

Enumerations

enum  MemPoolRemovalReason {
  MemPoolRemovalReason::UNKNOWN = 0, MemPoolRemovalReason::EXPIRY, MemPoolRemovalReason::SIZELIMIT, MemPoolRemovalReason::REORG,
  MemPoolRemovalReason::BLOCK, MemPoolRemovalReason::CONFLICT
}
 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 Coin 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
UNKNOWN 
EXPIRY 

Manually removed or unknown reason.

SIZELIMIT 

Expired from mempool.

REORG 

Removed in size limiting.

BLOCK 

Removed for reorganization.

CONFLICT 

Removed for block.

Definition at line 349 of file txmempool.h.

Variable Documentation

◆ MEMPOOL_HEIGHT

const uint32_t MEMPOOL_HEIGHT = 0x7FFFFFFF
static

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

Definition at line 38 of file txmempool.h.

Referenced by CheckSequenceLocks(), CCoinsViewMemPool::GetCoin(), gettxout(), and CPrivateSendBaseSession::IsValidInOuts().

Released under the MIT license