mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-24 12:41:41 -05:00
![]() `ProduceSignature` already calls `VerifyScript` internally as last step in order to check whether the signature data is complete. If and only if that is the case, the `complete` field of the `SignatureData` is set accordingly and there is no need then to verify the script after again, as we already know that it would succeed. This leads to a rough ~20% speed-up for `SignTransaction` for single-input ECDSA or Taproot inputs, according to the `SignTransaction{ECDSA,Taproot}` benchmarks. |
||
---|---|---|
.. | ||
descriptor.cpp | ||
descriptor.h | ||
interpreter.cpp | ||
interpreter.h | ||
keyorigin.h | ||
miniscript.cpp | ||
miniscript.h | ||
script.cpp | ||
script.h | ||
script_error.cpp | ||
script_error.h | ||
sigcache.cpp | ||
sigcache.h | ||
sign.cpp | ||
sign.h | ||
signingprovider.cpp | ||
signingprovider.h | ||
solver.cpp | ||
solver.h |