diff options
author | Antoine Poinsot <darosior@protonmail.com> | 2021-09-27 13:12:03 +0200 |
---|---|---|
committer | Antoine Poinsot <darosior@protonmail.com> | 2022-03-17 14:09:06 +0100 |
commit | f4e289f384efdda6c3f56e1e1c30820a91ac2612 (patch) | |
tree | 086b03c3dce63051e9765a828e247354d60a7499 /src/script/interpreter.h | |
parent | 31ec6ae92a5d9910a26d90a6ff20bab27dee5826 (diff) |
script: move CheckMinimalPush from interpreter to script.h
It is used by Miniscript.
Diffstat (limited to 'src/script/interpreter.h')
-rw-r--r-- | src/script/interpreter.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/script/interpreter.h b/src/script/interpreter.h index cf1953ad22..fbd904fb7b 100644 --- a/src/script/interpreter.h +++ b/src/script/interpreter.h @@ -344,8 +344,6 @@ bool VerifyScript(const CScript& scriptSig, const CScript& scriptPubKey, const C size_t CountWitnessSigOps(const CScript& scriptSig, const CScript& scriptPubKey, const CScriptWitness* witness, unsigned int flags); -bool CheckMinimalPush(const std::vector<unsigned char>& data, opcodetype opcode); - int FindAndDelete(CScript& script, const CScript& b); #endif // BITCOIN_SCRIPT_INTERPRETER_H |