0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-24 12:41:41 -05:00
bitcoin-bitcoin-core/src/script
Sebastian Falbesoner fe92c15f0c script/sign: avoid duplicated signature verification after signing
`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.
2024-05-12 18:02:41 +02:00
..
descriptor.cpp [clang-tidy] Enable the misc-no-recursion check 2024-04-07 14:04:45 +01:00
descriptor.h descriptor: Be able to get the pubkeys involved in a descriptor 2024-02-20 11:20:58 -05:00
interpreter.cpp serialize: Drop useless version param from GetSerializeSize() 2023-11-16 11:14:13 +10:00
interpreter.h Fix IWYU for the script_flags fuzz target 2023-11-23 17:57:53 +01:00
keyorigin.h Implement operator< for KeyOriginInfo and CExtPubKey 2021-12-10 08:29:47 -05:00
miniscript.cpp miniscript: make operator_mst consteval 2024-05-03 11:38:14 -04:00
miniscript.h miniscript: make operator_mst consteval 2024-05-03 11:38:14 -04:00
script.cpp iwyu: Export prevector.h from script.h 2023-10-25 11:55:50 +02:00
script.h iwyu: Export prevector.h from script.h 2023-10-25 11:55:50 +02:00
script_error.cpp Implement Tapscript script validation rules (BIP 342) 2020-10-12 17:18:24 -07:00
script_error.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
sigcache.cpp refactor: Move system from util to common library 2023-05-20 12:08:13 +02:00
sigcache.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
sign.cpp script/sign: avoid duplicated signature verification after signing 2024-05-12 18:02:41 +02:00
sign.h script/sign: Miniscript support in Tapscript 2023-10-08 02:43:24 +02:00
signingprovider.cpp ci: Bump TIDY_LLVM_V 2024-03-15 13:34:05 +00:00
signingprovider.h script/signingprovider: introduce a MultiSigningProvider 2023-08-25 12:40:11 +02:00
solver.cpp refactor: Add missing includes 2023-08-17 15:55:01 +02:00
solver.h Rename script/standard.{cpp/h} to script/solver.{cpp/h} 2023-08-14 17:39:49 -04:00