Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
* */
26
static constexpr CAmount MAX_MONEY = 21000000 * COIN;
27
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
28
29
#endif // BITCOIN_CONSENSUS_AMOUNT_H
Callers
15
CheckTxInputs
Method · 0.70
CheckTransaction
Function · 0.70
IsIssuanceInMoneyRange
Function · 0.50
GetDebit
Method · 0.50
TxGetCredit
Function · 0.50
GetChange
Function · 0.50
TxGetChange
Function · 0.50
CachedTxGetAvailableCredit
Function · 0.50
BOOST_AUTO_TEST_CASE
Function · 0.50
BOOST_AUTO_TEST_CASE
Function · 0.50
FUZZ_TARGET_INIT
Function · 0.50
FUZZ_TARGET_INIT
Function · 0.50
Calls
no outgoing calls
Tested by
7
BOOST_AUTO_TEST_CASE
Function · 0.40
BOOST_AUTO_TEST_CASE
Function · 0.40
FUZZ_TARGET_INIT
Function · 0.40
FUZZ_TARGET_INIT
Function · 0.40
FUZZ_TARGET_INIT
Function · 0.40
ConsumeTxMemPoolEntry
Function · 0.40
FUZZ_TARGET
Function · 0.40