aboutsummaryrefslogtreecommitdiff
path: root/src/script/interpreter.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2021-02-27 20:33:22 -0800
committerPieter Wuille <pieter@wuille.net>2021-06-12 12:25:28 -0700
commita2380127e905e5849f90acc7c69832859d8336aa (patch)
treea5f5e0086a2da8c4bb333efc7e53c42996ecdfff /src/script/interpreter.h
parent49487bc3b6038393c1b9c2dbdc04a78ae1178f1a (diff)
downloadbitcoin-a2380127e905e5849f90acc7c69832859d8336aa.tar.xz
Basic Taproot signing logic in script/sign.cpp
Diffstat (limited to 'src/script/interpreter.h')
-rw-r--r--src/script/interpreter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/interpreter.h b/src/script/interpreter.h
index 399d775181..ced5c28bc1 100644
--- a/src/script/interpreter.h
+++ b/src/script/interpreter.h
@@ -260,6 +260,9 @@ enum class MissingDataBehavior
FAIL, //!< Just act as if the signature was invalid
};
+template<typename T>
+bool SignatureHashSchnorr(uint256& hash_out, const ScriptExecutionData& execdata, const T& tx_to, uint32_t in_pos, uint8_t hash_type, SigVersion sigversion, const PrecomputedTransactionData& cache, MissingDataBehavior mdb);
+
template <class T>
class GenericTransactionSignatureChecker : public BaseSignatureChecker
{