| 80 | } |
| 81 | |
| 82 | bool HaveKeys(const std::vector<valtype>& pubkeys, const LegacyScriptPubKeyMan& keystore) |
| 83 | { |
| 84 | for (const valtype& pubkey : pubkeys) { |
| 85 | CKeyID keyID = CPubKey(pubkey).GetID(); |
| 86 | if (!keystore.HaveKey(keyID)) return false; |
| 87 | } |
| 88 | return true; |
| 89 | } |
| 90 | |
| 91 | //! Recursively solve script and return spendable/watchonly/invalid status. |
| 92 | //! |
no test coverage detected