Bitcoin Core  24.99.0
P2P Digital Currency
Functions | Variables
bitcoinunits.cpp File Reference
#include <qt/bitcoinunits.h>
#include <consensus/amount.h>
#include <QStringList>
#include <cassert>
Include dependency graph for bitcoinunits.cpp:

Go to the source code of this file.

Functions

QDataStream & operator<< (QDataStream &out, const BitcoinUnit &unit)
 
QDataStream & operator>> (QDataStream &in, BitcoinUnit &unit)
 

Variables

static constexpr auto MAX_DIGITS_BTC = 16
 

Function Documentation

◆ operator<<()

QDataStream& operator<< ( QDataStream &  out,
const BitcoinUnit unit 
)

Definition at line 255 of file bitcoinunits.cpp.

◆ operator>>()

QDataStream& operator>> ( QDataStream &  in,
BitcoinUnit unit 
)

Definition at line 260 of file bitcoinunits.cpp.

Variable Documentation

◆ MAX_DIGITS_BTC

constexpr auto MAX_DIGITS_BTC = 16
staticconstexpr

Definition at line 13 of file bitcoinunits.cpp.