Page MenuHomePhabricator

Use 72 byte dummy signatures when watching only inputs may be used

Authored by deadalnix on Nov 19 2019, 15:53.



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.

This is a partial backport of Core PR13666 :

Depends on D4468

Test Plan
make check

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.