Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <txmempool.h>
Public Types | |
using | TxHandle = CTxMemPool::txiter |
Public Member Functions | |
ChangeSet (CTxMemPool *pool) | |
~ChangeSet () EXCLUSIVE_LOCKS_REQUIRED(m_pool -> cs) | |
ChangeSet (const ChangeSet &)=delete | |
ChangeSet & | operator= (const ChangeSet &)=delete |
TxHandle | StageAddition (const CTransactionRef &tx, const CAmount fee, int64_t time, unsigned int entry_height, uint64_t entry_sequence, bool spends_coinbase, int64_t sigops_cost, LockPoints lp) |
void | StageRemoval (CTxMemPool::txiter it) |
const CTxMemPool::setEntries & | GetRemovals () const |
util::Result< CTxMemPool::setEntries > | CalculateMemPoolAncestors (TxHandle tx, const Limits &limits) |
std::vector< CTransactionRef > | GetAddedTxns () const |
util::Result< std::pair< std::vector< FeeFrac >, std::vector< FeeFrac > > > | CalculateChunksForRBF () |
Calculate the sorted chunks for the old and new mempool relating to the clusters that would be affected by a potential replacement transaction. More... | |
size_t | GetTxCount () const |
const CTransaction & | GetAddedTxn (size_t index) const |
void | Apply () EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
Private Attributes | |
CTxMemPool * | m_pool |
CTxMemPool::indexed_transaction_set | m_to_add |
std::vector< CTxMemPool::txiter > | m_entry_vec |
std::map< CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash > | m_ancestors |
CTxMemPool::setEntries | m_to_remove |
Friends | |
class | CTxMemPool |
Definition at line 822 of file txmempool.h.
Definition at line 830 of file txmempool.h.
|
inlineexplicit |
Definition at line 824 of file txmempool.h.
|
inline |
Definition at line 825 of file txmempool.h.
|
delete |
void CTxMemPool::ChangeSet::Apply | ( | ) |
Definition at line 1419 of file txmempool.cpp.
util::Result< std::pair< std::vector< FeeFrac >, std::vector< FeeFrac > > > CTxMemPool::ChangeSet::CalculateChunksForRBF | ( | ) |
Calculate the sorted chunks for the old and new mempool relating to the clusters that would be affected by a potential replacement transaction.
Definition at line 1315 of file txmempool.cpp.
|
inline |
Definition at line 837 of file txmempool.h.
|
inline |
Definition at line 869 of file txmempool.h.
|
inline |
Definition at line 851 of file txmempool.h.
|
inline |
Definition at line 835 of file txmempool.h.
|
inline |
Definition at line 868 of file txmempool.h.
CTxMemPool::ChangeSet::TxHandle CTxMemPool::ChangeSet::StageAddition | ( | const CTransactionRef & | tx, |
const CAmount | fee, | ||
int64_t | time, | ||
unsigned int | entry_height, | ||
uint64_t | entry_sequence, | ||
bool | spends_coinbase, | ||
int64_t | sigops_cost, | ||
LockPoints | lp | ||
) |
|
inline |
Definition at line 833 of file txmempool.h.
|
friend |
Definition at line 881 of file txmempool.h.
|
private |
Definition at line 878 of file txmempool.h.
|
private |
Definition at line 876 of file txmempool.h.
|
private |
Definition at line 874 of file txmempool.h.
|
private |
Definition at line 875 of file txmempool.h.
|
private |
Definition at line 879 of file txmempool.h.