mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 17:24:58 +02:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user