Bitcoin ABC  0.26.3
P2P Digital Currency
Typedefs | Functions | Variables
bitcoinunits.cpp File Reference
#include <qt/bitcoinunits.h>
#include <consensus/amount.h>
#include <currencyunit.h>
#include <util/system.h>
#include <QStringList>
#include <cassert>
Include dependency graph for bitcoinunits.cpp:

Go to the source code of this file.


using unitNameMap = std::map< BitcoinUnits::Unit, std::tuple< QString, QString > >


static const unitNameMapgetUnitsAtRuntime ()


static const unitNameMap xecUnits
static const unitNameMap bchUnits

Typedef Documentation

◆ unitNameMap

using unitNameMap = std::map< BitcoinUnits::Unit, std::tuple< QString , QString > >

Definition at line 16 of file bitcoinunits.cpp.

Function Documentation

◆ getUnitsAtRuntime()

static const unitNameMap& getUnitsAtRuntime ( )

Definition at line 42 of file bitcoinunits.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bchUnits

const unitNameMap bchUnits
Initial value:
= {
{"Satoshi (sat)",
"Satoshi (sat) (1 / 100" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)"}},
#define THIN_SP_UTF8
Definition: bitcoinunits.h:25

Definition at line 32 of file bitcoinunits.cpp.

◆ xecUnits

const unitNameMap xecUnits
Initial value:
= {
{"Satoshi (sat)",
"Satoshi (sat) (1 / 100)"}},

Definition at line 24 of file bitcoinunits.cpp.