Changeset View
Changeset View
Standalone View
Standalone View
src/txmempool.h
Show First 20 Lines • Show All 619 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Check that none of this transactions inputs are in the mempool, and thus | * Check that none of this transactions inputs are in the mempool, and thus | ||||
* the tx is not dependent on other mempool transactions to be included in a | * the tx is not dependent on other mempool transactions to be included in a | ||||
* block. | * block. | ||||
*/ | */ | ||||
bool HasNoInputsOf(const CTransaction &tx) const; | bool HasNoInputsOf(const CTransaction &tx) const; | ||||
/** Affect CreateNewBlock prioritisation of transactions */ | /** Affect CreateNewBlock prioritisation of transactions */ | ||||
void PrioritiseTransaction(const uint256 hash, const std::string strHash, | void PrioritiseTransaction(const uint256 &hash, double dPriorityDelta, | ||||
double dPriorityDelta, const Amount nFeeDelta); | const Amount nFeeDelta); | ||||
void ApplyDeltas(const uint256 hash, double &dPriorityDelta, | void ApplyDeltas(const uint256 hash, double &dPriorityDelta, | ||||
Amount &nFeeDelta) const; | Amount &nFeeDelta) const; | ||||
void ClearPrioritisation(const uint256 hash); | void ClearPrioritisation(const uint256 hash); | ||||
public: | public: | ||||
/** | /** | ||||
* Remove a set of transactions from the mempool. If a transaction is in | * Remove a set of transactions from the mempool. If a transaction is in | ||||
* this set, then all in-mempool descendants must also be in the set, unless | * this set, then all in-mempool descendants must also be in the set, unless | ||||
▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines |