Returns the appropriate total based on whether fees are being subtracted from outputs.

Synopsis

Declared in <wallet/spend.h>

std::optional<CAmount>
GetAppropriateTotal(bool subtract_fee_outputs) const;

Return Value

The raw total when subtracting fees from outputs, otherwise the effective total.

Parameters

Name

Description

subtract_fee_outputs

Whether fees are subtracted from the outputs.

Created with MrDocs