Keep track of fee/priority for transactions confirmed within N blocks.
More...
|
| static bool | AreSane (const CFeeRate fee, const CFeeRate &minRelayFee) |
| | Used as belt-and-suspenders check when reading to detect file corruption. More...
|
| |
| static bool | AreSane (const std::vector< CFeeRate > &vecFee, const CFeeRate &minRelayFee) |
| |
| static bool | AreSane (const double priority) |
| |
| static bool | AreSane (const std::vector< double > vecPriority) |
| |
|
| template<typename T > |
| std::vector< T > | buf2vec (boost::circular_buffer< T > buf) const |
| |
Keep track of fee/priority for transactions confirmed within N blocks.
Definition at line 46 of file txmempool.cpp.
◆ CBlockAverage()
| CBlockAverage::CBlockAverage |
( |
| ) |
|
|
inline |
◆ AreSane() [1/4]
| static bool CBlockAverage::AreSane |
( |
const CFeeRate |
fee, |
|
|
const CFeeRate & |
minRelayFee |
|
) |
| |
|
inlinestatic |
Used as belt-and-suspenders check when reading to detect file corruption.
Definition at line 91 of file txmempool.cpp.
◆ AreSane() [2/4]
| static bool CBlockAverage::AreSane |
( |
const double |
priority | ) |
|
|
inlinestatic |
◆ AreSane() [3/4]
| static bool CBlockAverage::AreSane |
( |
const std::vector< CFeeRate > & |
vecFee, |
|
|
const CFeeRate & |
minRelayFee |
|
) |
| |
|
inlinestatic |
◆ AreSane() [4/4]
| static bool CBlockAverage::AreSane |
( |
const std::vector< double > |
vecPriority | ) |
|
|
inlinestatic |
◆ buf2vec()
template<typename T >
| std::vector<T> CBlockAverage::buf2vec |
( |
boost::circular_buffer< T > |
buf | ) |
const |
|
inlineprivate |
◆ FeeSamples()
| size_t CBlockAverage::FeeSamples |
( |
| ) |
const |
|
inline |
◆ GetFeeSamples()
| size_t CBlockAverage::GetFeeSamples |
( |
std::vector< CFeeRate > & |
insertInto | ) |
const |
|
inline |
◆ GetPrioritySamples()
| size_t CBlockAverage::GetPrioritySamples |
( |
std::vector< double > & |
insertInto | ) |
const |
|
inline |
◆ PrioritySamples()
| size_t CBlockAverage::PrioritySamples |
( |
| ) |
const |
|
inline |
◆ Read()
◆ RecordFee()
| void CBlockAverage::RecordFee |
( |
const CFeeRate & |
feeRate | ) |
|
|
inline |
◆ RecordPriority()
| void CBlockAverage::RecordPriority |
( |
double |
priority | ) |
|
|
inline |
◆ Write()
| void CBlockAverage::Write |
( |
CAutoFile & |
fileout | ) |
const |
|
inline |
◆ feeSamples
| boost::circular_buffer<CFeeRate> CBlockAverage::feeSamples |
|
private |
◆ prioritySamples
| boost::circular_buffer<double> CBlockAverage::prioritySamples |
|
private |
The documentation for this class was generated from the following file: