Bitcoin ABC  0.24.7
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
FeeFilterRounder Class Reference

#include <fees.h>

Collaboration diagram for FeeFilterRounder:
[legend]

Public Member Functions

 FeeFilterRounder (const CFeeRate &minIncrementalFee)
 Create new FeeFilterRounder. More...
 
Amount round (const Amount currentMinFee)
 Quantize a minimum fee for privacy purpose before broadcast. More...
 

Private Attributes

std::set< Amountfeeset
 
FastRandomContext insecure_rand
 

Detailed Description

Definition at line 28 of file fees.h.

Constructor & Destructor Documentation

◆ FeeFilterRounder()

FeeFilterRounder::FeeFilterRounder ( const CFeeRate minIncrementalFee)
explicit

Create new FeeFilterRounder.

Definition at line 11 of file fees.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ round()

Amount FeeFilterRounder::round ( const Amount  currentMinFee)

Quantize a minimum fee for privacy purpose before broadcast.

Not thread-safe due to use of FastRandomContext

Definition at line 21 of file fees.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ feeset

std::set<Amount> FeeFilterRounder::feeset
private

Definition at line 40 of file fees.h.

◆ insecure_rand

FastRandomContext FeeFilterRounder::insecure_rand
private

Definition at line 41 of file fees.h.


The documentation for this class was generated from the following files: