aboutsummaryrefslogtreecommitdiff
path: root/src/script/interpreter.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2021-10-27 19:16:01 -0400
committerPieter Wuille <pieter@wuille.net>2021-11-12 12:05:00 -0500
commitf1c33ee4ac1056289f2e67b75755388549ada4ca (patch)
tree65f8ecc6d94ef47124c96cd80e3bd918d05599fa /src/script/interpreter.h
parentac3037df1196b1d95ade2dfad4699ad3a6074903 (diff)
tests: implement BIP341 test vectors
Diffstat (limited to 'src/script/interpreter.h')
-rw-r--r--src/script/interpreter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/interpreter.h b/src/script/interpreter.h
index ab49e84577..513eaaf94c 100644
--- a/src/script/interpreter.h
+++ b/src/script/interpreter.h
@@ -229,6 +229,7 @@ static constexpr size_t TAPROOT_CONTROL_NODE_SIZE = 32;
static constexpr size_t TAPROOT_CONTROL_MAX_NODE_COUNT = 128;
static constexpr size_t TAPROOT_CONTROL_MAX_SIZE = TAPROOT_CONTROL_BASE_SIZE + TAPROOT_CONTROL_NODE_SIZE * TAPROOT_CONTROL_MAX_NODE_COUNT;
+extern const CHashWriter HASHER_TAPSIGHASH; //!< Hasher with tag "TapSighash" pre-fed to it.
extern const CHashWriter HASHER_TAPLEAF; //!< Hasher with tag "TapLeaf" pre-fed to it.
extern const CHashWriter HASHER_TAPBRANCH; //!< Hasher with tag "TapBranch" pre-fed to it.