aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-08-12 16:30:09 -0400
committerAndrew Chow <achow101-github@achow101.com>2022-08-19 14:37:36 -0400
commit116a620ce7e6724906d63de80a8a757004f22477 (patch)
tree18ded00107df8a53ac24803ddea9cd9436b110cf /src/script/sign.h
parentff638323d1cde68b537bb20cf096cba4e88ac4eb (diff)
downloadbitcoin-116a620ce7e6724906d63de80a8a757004f22477.tar.xz
Make DUMMY_CHECKER availble outside of script/sign.cpp
Diffstat (limited to 'src/script/sign.h')
-rw-r--r--src/script/sign.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index 958d673b9f..813dfe04e3 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -52,6 +52,8 @@ public:
bool CreateSchnorrSig(const SigningProvider& provider, std::vector<unsigned char>& sig, const XOnlyPubKey& pubkey, const uint256* leaf_hash, const uint256* merkle_root, SigVersion sigversion) const override;
};
+/** A signature checker that accepts all signatures */
+extern const BaseSignatureChecker& DUMMY_CHECKER;
/** A signature creator that just produces 71-byte empty signatures. */
extern const BaseSignatureCreator& DUMMY_SIGNATURE_CREATOR;
/** A signature creator that just produces 72-byte empty signatures. */