Changeset View
Changeset View
Standalone View
Standalone View
src/policy/fees.h
Show First 20 Lines • Show All 243 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); | ||||
/** | /** | ||||
* Return a priority estimate. | |||||
* DEPRECATED | |||||
* Returns -1 | |||||
*/ | |||||
double estimatePriority(int confTarget); | |||||
/** | |||||
* Estimate priority needed to get be included in a block within confTarget | * Estimate priority needed to get be included in a block within confTarget | ||||
* blocks. | * blocks. | ||||
* DEPRECATED | * DEPRECATED | ||||
* Returns -1 unless mempool is currently limited then returns INF_PRIORITY | * Returns -1 unless mempool is currently limited then returns INF_PRIORITY | ||||
* answerFoundAtTarget is set to confTarget | * answerFoundAtTarget is set to confTarget | ||||
*/ | */ | ||||
double estimateSmartPriority(int confTarget, int *answerFoundAtTarget, | double estimateSmartPriority(int confTarget, int *answerFoundAtTarget, | ||||
const CTxMemPool &pool); | const CTxMemPool &pool); | ||||
Show All 40 Lines |