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

Go to the source code of this file.

Typedefs

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

Functions

static const unitNameMapgetUnitsAtRuntime ()
 

Variables

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 ( )
static

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
static
Initial value:
= {
{BitcoinUnits::Unit::base,
{"BCHA",
"Bitcoins"}},
{BitcoinUnits::Unit::sub,
{"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
static
Initial value:
= {
{BitcoinUnits::Unit::base,
{"XEC",
"eCash"}},
{BitcoinUnits::Unit::sub,
{"Satoshi (sat)",
"Satoshi (sat) (1 / 100)"}},
}

Definition at line 24 of file bitcoinunits.cpp.