mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 17:24:58 +02:00
Make DUMMY_CHECKER availble outside of script/sign.cpp
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user