Changeset View
Changeset View
Standalone View
Standalone View
src/policy/fees.h
Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | public: | ||||
/** Estimate feerate needed to get be included in a block within | /** Estimate feerate needed to get be included in a block within | ||||
* confTarget blocks. If no answer can be given at confTarget, return an | * confTarget blocks. If no answer can be given at confTarget, return an | ||||
* estimate at the lowest target where one can be given. | * estimate at the lowest target where one can be given. | ||||
*/ | */ | ||||
CFeeRate estimateSmartFee(int confTarget, int *answerFoundAtTarget, | CFeeRate estimateSmartFee(int confTarget, int *answerFoundAtTarget, | ||||
const CTxMemPool &pool); | const CTxMemPool &pool); | ||||
/** | |||||
* Estimate priority needed to get be included in a block within confTarget | |||||
* blocks. | |||||
* DEPRECATED | |||||
* Returns -1 unless mempool is currently limited then returns INF_PRIORITY | |||||
* answerFoundAtTarget is set to confTarget | |||||
*/ | |||||
double estimateSmartPriority(int confTarget, int *answerFoundAtTarget, | |||||
const CTxMemPool &pool); | |||||
/** Write estimation data to a file */ | /** Write estimation data to a file */ | ||||
void Write(CAutoFile &fileout); | void Write(CAutoFile &fileout); | ||||
/** Read estimation data from a file */ | /** Read estimation data from a file */ | ||||
void Read(CAutoFile &filein, int nFileVersion); | void Read(CAutoFile &filein, int nFileVersion); | ||||
private: | private: | ||||
//!< Passed to constructor to avoid dependency on main | //!< Passed to constructor to avoid dependency on main | ||||
Show All 30 Lines |