| 50 | } |
| 51 | |
| 52 | bool ExternalSignerScriptPubKeyMan::DisplayAddress(const CScript scriptPubKey, const ExternalSigner &signer) const |
| 53 | { |
| 54 | // TODO: avoid the need to infer a descriptor from inside a descriptor wallet |
| 55 | auto provider = GetSolvingProvider(scriptPubKey); |
| 56 | auto descriptor = InferDescriptor(scriptPubKey, *provider); |
| 57 | |
| 58 | signer.DisplayAddress(descriptor->ToString()); |
| 59 | // TODO inspect result |
| 60 | return true; |
| 61 | } |
| 62 | |
| 63 | // If sign is true, transaction must previously have been filled |
| 64 | TransactionError ExternalSignerScriptPubKeyMan::FillPSBT(PartiallySignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type, bool sign, bool bip32derivs, int* n_signed, bool finalize) const |
nothing calls this directly
no test coverage detected