Get the marginal bytes if spending the specified output, using an explicit signing provider.
Declared in <wallet/spend.h>
int
CalculateMaximumSignedInputSize(
CTxOut const& txout,
COutPoint outpoint,
SigningProvider const* pwallet,
bool can_grind_r,
CCoinControl const* coin_control);
The marginal size in bytes of the signed input, or -1 on failure.
| Name | Description |
|---|---|
| txout | The output that would be spent. |
| outpoint | The outpoint identifying the output being spent. |
| pwallet | The signing provider used to estimate the signature size. |
| can_grind_r | Whether low-R signature grinding may be assumed when sizing the input. |
| coin_control | Coin control settings that may override signing information. |