From f14900b6e4eac26ae5f1c0badfa176d895851c97 Mon Sep 17 00:00:00 2001 From: josibake Date: Sat, 3 Aug 2024 12:44:31 +0200 Subject: [PATCH 1/6] bench: add benchmark for signing with a taptweak Add benchmarks for signing with null and non-null merkle_root arguments. Null and non-null merkle_root arguments will apply the taptweaks H_TapTweak(P) and H_TapTweak(P | merkle_root), respectively, to the private key during signing. This benchmark is added to verify there are no significant performance changes after moving the taptweak signing logic in a later commit. Co-authored-by: l0rinc --- src/bench/sign_transaction.cpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/bench/sign_transaction.cpp b/src/bench/sign_transaction.cpp index 7a2e26e339..6f28f581af 100644 --- a/src/bench/sign_transaction.cpp +++ b/src/bench/sign_transaction.cpp @@ -12,6 +12,7 @@ #include