5#ifndef BITCOIN_POLICY_FEES_H
6#define BITCOIN_POLICY_FEES_H
static constexpr Amount SATOSHI
Fee rate in satoshis per kilobyte: Amount / kB.
const std::set< Amount > m_fee_set
FastRandomContext &insecure_rand GUARDED_BY(m_insecure_rand_mutex)
Amount round(const Amount currentMinFee) EXCLUSIVE_LOCKS_REQUIRED(!m_insecure_rand_mutex)
Quantize a minimum fee for privacy purpose before broadcast.
FeeFilterRounder(const CFeeRate &min_incremental_fee, FastRandomContext &rng)
Create new FeeFilterRounder.
Mutex m_insecure_rand_mutex
static constexpr Amount MIN_FEERATE(10 *SATOSHI)
static const double FEE_SPACING
Spacing of FeeRate buckets.
static const Amount MAX_FEERATE(int64_t(1e7) *SATOSHI)
#define EXCLUSIVE_LOCKS_REQUIRED(...)