diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-02-27 20:33:22 -0800 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-06-12 12:25:28 -0700 |
commit | a2380127e905e5849f90acc7c69832859d8336aa (patch) | |
tree | a5f5e0086a2da8c4bb333efc7e53c42996ecdfff /src/script/interpreter.h | |
parent | 49487bc3b6038393c1b9c2dbdc04a78ae1178f1a (diff) | |
download | bitcoin-a2380127e905e5849f90acc7c69832859d8336aa.tar.xz |
Basic Taproot signing logic in script/sign.cpp
Diffstat (limited to 'src/script/interpreter.h')
-rw-r--r-- | src/script/interpreter.h | 3 |
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 { |