Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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

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:
= {
{"BCHA",
"Bitcoins"}},
{"Satoshi (sat)",
"Satoshi (sat) (1 / 100" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)"}},
}
#define THIN_SP_UTF8

Definition at line 32 of file bitcoinunits.cpp.

◆ xecUnits

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

Definition at line 24 of file bitcoinunits.cpp.