Changeset View
Changeset View
Standalone View
Standalone View
src/txmempool.h
Show First 20 Lines • Show All 801 Lines • ▼ Show 20 Lines | private: | ||||
/** | /** | ||||
* Before calling removeUnchecked for a given transaction, | * Before calling removeUnchecked for a given transaction, | ||||
* UpdateForRemoveFromMempool must be called on the entire (dependent) set | * UpdateForRemoveFromMempool must be called on the entire (dependent) set | ||||
* of transactions being removed at the same time. We use each | * of transactions being removed at the same time. We use each | ||||
* CTxMemPoolEntry's setMemPoolParents in order to walk ancestors of a given | * CTxMemPoolEntry's setMemPoolParents in order to walk ancestors of a given | ||||
* transaction that is removed, so we can't remove intermediate transactions | * transaction that is removed, so we can't remove intermediate transactions | ||||
* in a chain before we've updated all the state for the removal. | * in a chain before we've updated all the state for the removal. | ||||
*/ | */ | ||||
void removeUnchecked( | void removeUnchecked(txiter entry, MemPoolRemovalReason reason = | ||||
txiter entry, | MemPoolRemovalReason::UNKNOWN); | ||||
MemPoolRemovalReason reason = MemPoolRemovalReason::UNKNOWN); | |||||
}; | }; | ||||
/** | /** | ||||
* CCoinsView that brings transactions from a memorypool into view. | * CCoinsView that brings transactions from a memorypool into view. | ||||
* It does not check for spendings by memory pool transactions. | * It does not check for spendings by memory pool transactions. | ||||
*/ | */ | ||||
class CCoinsViewMemPool : public CCoinsViewBacked { | class CCoinsViewMemPool : public CCoinsViewBacked { | ||||
protected: | protected: | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |