![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <block_policy_estimator.h>
Public Member Functions | |
| FeeFilterRounder (const CFeeRate &min_incremental_fee, FastRandomContext &rng) | |
| Create new FeeFilterRounder. | |
| CAmount | round (CAmount currentMinFee) EXCLUSIVE_LOCKS_REQUIRED(!m_insecure_rand_mutex) |
| Quantize a minimum fee for privacy purpose before broadcast. | |
Private Member Functions | |
| FastRandomContext &insecure_rand | GUARDED_BY (m_insecure_rand_mutex) |
Private Attributes | |
| const std::set< double > | m_fee_set |
| Mutex | m_insecure_rand_mutex |
Static Private Attributes | |
| static constexpr double | MAX_FILTER_FEERATE = 1e7 |
| static constexpr double | FEE_FILTER_SPACING = 1.1 |
| FEE_FILTER_SPACING is just used to provide some quantization of fee filter results. | |
Definition at line 324 of file block_policy_estimator.h.
|
explicit |
Create new FeeFilterRounder.
Definition at line 1103 of file block_policy_estimator.cpp.
|
private |
Quantize a minimum fee for privacy purpose before broadcast.
Definition at line 1109 of file block_policy_estimator.cpp.
FEE_FILTER_SPACING is just used to provide some quantization of fee filter results.
Historically it reused FEE_SPACING, but it is completely unrelated, and was made a separate constant so the two concepts are not tied together
Definition at line 332 of file block_policy_estimator.h.
|
private |
Definition at line 342 of file block_policy_estimator.h.
|
private |
Definition at line 343 of file block_policy_estimator.h.
Definition at line 327 of file block_policy_estimator.h.