aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorAntoine Poinsot <darosior@protonmail.com>2022-07-20 12:42:08 +0200
committerAntoine Poinsot <darosior@protonmail.com>2022-08-11 15:43:40 +0200
commitb16f93caddcd3254eaf3dc43e09adf2142a9c40a (patch)
tree675b615337627dead3cde665e3bb3e951e54565f /src/script/sign.h
parentc232ef20c0fd2e3b55355e52684091cad3af5247 (diff)
downloadbitcoin-b16f93caddcd3254eaf3dc43e09adf2142a9c40a.tar.xz
script/sign: remove needless IsSolvable() utility
It was used back when we didn't have a concept of descriptor. Now we can check for solvability using descriptors.
Diffstat (limited to 'src/script/sign.h')
-rw-r--r--src/script/sign.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index 5e58272154..958d673b9f 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -97,12 +97,6 @@ bool SignSignature(const SigningProvider &provider, const CTransaction& txFrom,
SignatureData DataFromTransaction(const CMutableTransaction& tx, unsigned int nIn, const CTxOut& txout);
void UpdateInput(CTxIn& input, const SignatureData& data);
-/* Check whether we know how to sign for an output like this, assuming we
- * have all private keys. While this function does not need private keys, the passed
- * provider is used to look up public keys and redeemscripts by hash.
- * Solvability is unrelated to whether we consider this output to be ours. */
-bool IsSolvable(const SigningProvider& provider, const CScript& script);
-
/** Check whether a scriptPubKey is known to be segwit. */
bool IsSegWitOutput(const SigningProvider& provider, const CScript& script);