Dogecoin Core  1.14.2
P2P Digital Currency
Classes | Typedefs | Enumerations | Functions
txmempool.h File Reference
#include <memory>
#include <set>
#include <map>
#include <vector>
#include <utility>
#include <string>
#include "amount.h"
#include "coins.h"
#include "indirectmap.h"
#include "primitives/transaction.h"
#include "sync.h"
#include "random.h"
#include "boost/multi_index_container.hpp"
#include "boost/multi_index/ordered_index.hpp"
#include "boost/multi_index/hashed_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  mining_score
 
struct  ancestor_score
 
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...
 
struct  CTxMemPool::CompareIteratorByHash
 
struct  CTxMemPool::TxLinks
 
class  CCoinsViewMemPool
 CCoinsView that brings transactions from a memorypool into view. More...
 
struct  TxCoinAgePriorityCompare
 

Typedefs

typedef std::pair< double, CTxMemPool::txiterTxCoinAgePriority
 

Enumerations

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

Functions

double AllowFreeThreshold ()
 
bool AllowFree (double dPriority)
 

Typedef Documentation

◆ TxCoinAgePriority

typedef std::pair<double, CTxMemPool::txiter> TxCoinAgePriority

Definition at line 724 of file txmempool.h.

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.

REPLACED 

Removed for conflict with in-block transaction.

Removed for replacement

Definition at line 341 of file txmempool.h.

Function Documentation

◆ AllowFree()

bool AllowFree ( double  dPriority)
inline

Definition at line 38 of file txmempool.h.

Here is the call graph for this function:

◆ AllowFreeThreshold()

double AllowFreeThreshold ( )
inline

Definition at line 33 of file txmempool.h.

Here is the caller graph for this function: