Changeset View
Changeset View
Standalone View
Standalone View
src/txmempool.h
Show First 20 Lines • Show All 782 Lines • ▼ Show 20 Lines | private: | ||||
*/ | */ | ||||
void | void | ||||
removeUnchecked(txiter entry, | removeUnchecked(txiter entry, | ||||
MemPoolRemovalReason reason = MemPoolRemovalReason::UNKNOWN) | MemPoolRemovalReason reason = MemPoolRemovalReason::UNKNOWN) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs); | EXCLUSIVE_LOCKS_REQUIRED(cs); | ||||
}; | }; | ||||
/** | /** | ||||
* CCoinsView that brings transactions from a memorypool into view. | * CCoinsView that brings transactions from a mempool into view. | ||||
* It does not check for spendings by memory pool transactions. | * It does not check for spendings by memory pool transactions. | ||||
* Instead, it provides access to all Coins which are either unspent in the | * Instead, it provides access to all Coins which are either unspent in the | ||||
* base CCoinsView, or are outputs from any mempool transaction! | * base CCoinsView, or are outputs from any mempool transaction! | ||||
* This allows transaction replacement to work as expected, as you want to | * This allows transaction replacement to work as expected, as you want to | ||||
* have all inputs "available" to check signatures, and any cycles in the | * have all inputs "available" to check signatures, and any cycles in the | ||||
* dependency graph are checked directly in AcceptToMemoryPool. | * dependency graph are checked directly in AcceptToMemoryPool. | ||||
* It also allows you to sign a double-spend directly in | * It also allows you to sign a double-spend directly in | ||||
* signrawtransactionwithkey and signrawtransactionwithwallet, as long as the | * signrawtransactionwithkey and signrawtransactionwithwallet, as long as the | ||||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |