Changeset View
Changeset View
Standalone View
Standalone View
src/txmempool.h
Show First 20 Lines • Show All 729 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Estimate priority needed to get into the next nBlocks. If no answer can | * Estimate priority needed to get into the next nBlocks. If no answer can | ||||
* be given at nBlocks, return an estimate at the lowest number of blocks | * be given at nBlocks, return an estimate at the lowest number of blocks | ||||
* where one can be given. | * where one can be given. | ||||
*/ | */ | ||||
double estimateSmartPriority(int nBlocks, | double estimateSmartPriority(int nBlocks, | ||||
int *answerFoundAtBlocks = nullptr) const; | int *answerFoundAtBlocks = nullptr) const; | ||||
/** Estimate priority needed to get into the next nBlocks */ | |||||
double estimatePriority(int nBlocks) const; | |||||
/** Write/Read estimates to disk */ | /** Write/Read estimates to disk */ | ||||
bool WriteFeeEstimates(CAutoFile &fileout) const; | bool WriteFeeEstimates(CAutoFile &fileout) const; | ||||
bool ReadFeeEstimates(CAutoFile &filein); | bool ReadFeeEstimates(CAutoFile &filein); | ||||
size_t DynamicMemoryUsage() const; | size_t DynamicMemoryUsage() const; | ||||
boost::signals2::signal<void(CTransactionRef)> NotifyEntryAdded; | boost::signals2::signal<void(CTransactionRef)> NotifyEntryAdded; | ||||
boost::signals2::signal<void(CTransactionRef, MemPoolRemovalReason)> | boost::signals2::signal<void(CTransactionRef, MemPoolRemovalReason)> | ||||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |