You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use 72 byte dummy signatures when watching only inputs may be used
With watching only inputs, we do not know how large the signatures
for those inputs will be as their signers may not have implemented
71 byte signatures. Thus we estimate their fees using the 72 byte
dummy signature to ensure that we pay enough fees.
This only effects fundrawtransaction when includeWatching is true.
/** Whether we know how to spend this output, ignoring the lack of keys */
508
508
boolfSolvable;
509
509
510
+
/** Whether to use the maximum sized, 72 byte signature when calculating the size of the input spend. This should only be set when watch-only outputs are allowed */
511
+
bool use_max_sig;
512
+
510
513
/**
511
514
* Whether this output is considered safe to spend. Unconfirmed transactions
512
515
* from outside keys and unconfirmed replacement transactions are considered
513
516
* unsafe and will not be used to fund new spending transactions.
514
517
*/
515
518
boolfSafe;
516
519
517
-
COutput(const CWalletTx *txIn, int iIn, int nDepthIn, boolfSpendableIn, boolfSolvableIn, boolfSafeIn)
520
+
COutput(const CWalletTx *txIn, int iIn, int nDepthIn, boolfSpendableIn, boolfSolvableIn, boolfSafeIn, bool use_max_sig_in = false)
0 commit comments