MCPcopy Create free account
hub / github.com/ElementsProject/elements / MoneyRange

Function MoneyRange

src/consensus/amount.h:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 * */
26static constexpr CAmount MAX_MONEY = 21000000 * COIN;
27inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
28
29#endif // BITCOIN_CONSENSUS_AMOUNT_H

Callers 15

CheckTxInputsMethod · 0.70
CheckTransactionFunction · 0.70
IsIssuanceInMoneyRangeFunction · 0.50
GetDebitMethod · 0.50
TxGetCreditFunction · 0.50
GetChangeFunction · 0.50
TxGetChangeFunction · 0.50
BOOST_AUTO_TEST_CASEFunction · 0.50
BOOST_AUTO_TEST_CASEFunction · 0.50
FUZZ_TARGET_INITFunction · 0.50
FUZZ_TARGET_INITFunction · 0.50

Calls

no outgoing calls

Tested by 7

BOOST_AUTO_TEST_CASEFunction · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
FUZZ_TARGET_INITFunction · 0.40
FUZZ_TARGET_INITFunction · 0.40
FUZZ_TARGET_INITFunction · 0.40
ConsumeTxMemPoolEntryFunction · 0.40
FUZZ_TARGETFunction · 0.40