Bitcoin Core 30.99.0
P2P Digital Currency
Classes | Enumerations | Variables
feerate.h File Reference
#include <consensus/amount.h>
#include <serialize.h>
#include <util/feefrac.h>
#include <util/fees.h>
#include <cstdint>
#include <string>
#include <type_traits>
Include dependency graph for feerate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CFeeRate
 Fee rate in satoshis per virtualbyte: CAmount / vB the feerate is represented internally as FeeFrac. More...
 

Enumerations

enum class  FeeRateFormat { BTC_KVB , SAT_VB }
 

Variables

const std::string CURRENCY_UNIT = "BTC"
 
const std::string CURRENCY_ATOM = "sat"
 

Enumeration Type Documentation

◆ FeeRateFormat

enum class FeeRateFormat
strong
Enumerator
BTC_KVB 

Use BTC/kvB fee rate unit.

SAT_VB 

Use sat/vB fee rate unit.

Definition at line 22 of file feerate.h.

Variable Documentation

◆ CURRENCY_ATOM

const std::string CURRENCY_ATOM = "sat"

Definition at line 20 of file feerate.h.

◆ CURRENCY_UNIT

const std::string CURRENCY_UNIT = "BTC"

Definition at line 19 of file feerate.h.