Changeset View
Changeset View
Standalone View
Standalone View
src/txmempool.h
Show First 20 Lines • Show All 555 Lines • ▼ Show 20 Lines | private: | ||||
GetSortedDepthAndScore() const; | GetSortedDepthAndScore() const; | ||||
public: | public: | ||||
indirectmap<COutPoint, const CTransaction *> mapNextTx; | indirectmap<COutPoint, const CTransaction *> mapNextTx; | ||||
std::map<uint256, std::pair<double, Amount>> mapDeltas; | std::map<uint256, std::pair<double, Amount>> mapDeltas; | ||||
/** Create a new CTxMemPool. | /** Create a new CTxMemPool. | ||||
*/ | */ | ||||
CTxMemPool(const CFeeRate &_minReasonableRelayFee); | CTxMemPool(); | ||||
~CTxMemPool(); | ~CTxMemPool(); | ||||
/** | /** | ||||
* If sanity-checking is turned on, check makes sure the pool is consistent | * If sanity-checking is turned on, check makes sure the pool is consistent | ||||
* (does not contain two transactions that spend the same inputs, all inputs | * (does not contain two transactions that spend the same inputs, all inputs | ||||
* are in the mapNextTx array). If sanity-checking is turned off, check does | * are in the mapNextTx array). If sanity-checking is turned off, check does | ||||
* nothing. | * nothing. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 333 Lines • Show Last 20 Lines |