Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
utilmoneystr.cpp File Reference
#include <utilmoneystr.h>
#include <primitives/transaction.h>
#include <tinyformat.h>
#include <utilstrencodings.h>
Include dependency graph for utilmoneystr.cpp:
Go to the source code of this file.
Functions | |
std::string | FormatMoney (const CAmount &n) |
Money parsing/formatting utilities. More... | |
bool | ParseMoney (const std::string &str, CAmount &nRet) |
bool | ParseMoney (const char *pszIn, CAmount &nRet) |
Function Documentation
◆ FormatMoney()
std::string FormatMoney | ( | const CAmount & | n | ) |
Money parsing/formatting utilities.
Definition at line 12 of file utilmoneystr.cpp.
References COIN, and strprintf.
Referenced by Consensus::CheckTxInputs(), CPrivateSendClientSession::DoAutomaticDenominating(), WalletInit::GetHelpString(), HelpMessage(), CTxMemPool::PrioritiseTransaction(), CWallet::SelectCoinsMinConf(), SendMoney(), and COutput::ToString().
◆ ParseMoney() [1/2]
bool ParseMoney | ( | const std::string & | str, |
CAmount & | nRet | ||
) |
Definition at line 34 of file utilmoneystr.cpp.
References ParseMoney().
Referenced by AppInitParameterInteraction(), DefaultOptions(), ExtractAndValidateValue(), WalletInit::ParameterInteraction(), and ParseMoney().