Returns true when the amount is non‐negative and does not exceed MAX_MONEY.

Synopsis

Declared in <consensus/amount.h>

bool
MoneyRange(CAmount const& nValue);

Return Value

true if nValue is a valid amount within the accepted range.

Parameters

Name

Description

nValue

Amount in satoshis to check.

Created with MrDocs