Changeset View
Changeset View
Standalone View
Standalone View
src/policy/fees.h
Show First 20 Lines • Show All 269 Lines • ▼ Show 20 Lines | private: | ||||
unsigned int trackedTxs; | unsigned int trackedTxs; | ||||
unsigned int untrackedTxs; | unsigned int untrackedTxs; | ||||
}; | }; | ||||
class FeeFilterRounder { | class FeeFilterRounder { | ||||
public: | public: | ||||
/** Create new FeeFilterRounder */ | /** Create new FeeFilterRounder */ | ||||
FeeFilterRounder(const CFeeRate &minIncrementalFee); | explicit FeeFilterRounder(const CFeeRate &minIncrementalFee); | ||||
/** Quantize a minimum fee for privacy purpose before broadcast **/ | /** Quantize a minimum fee for privacy purpose before broadcast **/ | ||||
Amount round(const Amount currentMinFee); | Amount round(const Amount currentMinFee); | ||||
private: | private: | ||||
std::set<Amount> feeset; | std::set<Amount> feeset; | ||||
FastRandomContext insecure_rand; | FastRandomContext insecure_rand; | ||||
}; | }; | ||||
#endif /*BITCOIN_POLICYESTIMATOR_H */ | #endif /*BITCOIN_POLICYESTIMATOR_H */ |