5 #ifndef BITCOIN_WALLET_EXTERNAL_SIGNER_SCRIPTPUBKEYMAN_H 6 #define BITCOIN_WALLET_EXTERNAL_SIGNER_SCRIPTPUBKEYMAN_H 35 #endif // BITCOIN_WALLET_EXTERNAL_SIGNER_SCRIPTPUBKEYMAN_H Enables interaction with an external signing device or service, such as a hardware wallet...
ExternalSignerScriptPubKeyMan(WalletStorage &storage, WalletDescriptor &descriptor, int64_t keypool_size)
bool SetupDescriptor(std::unique_ptr< Descriptor >desc)
Provide a descriptor at setup time Returns false if already setup or setup fails, true if setup is su...
A version of CTransaction with the PSBT format.
bool DisplayAddress(const CScript scriptPubKey, const ExternalSigner &signer) const
Descriptor with some wallet metadata.
static ExternalSigner GetExternalSigner()
Serialized script, used inside transaction inputs and outputs.
TransactionError FillPSBT(PartiallySignedTransaction &psbt, const PrecomputedTransactionData &txdata, int sighash_type=1, bool sign=true, bool bip32derivs=false, int *n_signed=nullptr, bool finalize=true) const override
Adds script and derivation path information to a PSBT, and optionally signs it.
ExternalSignerScriptPubKeyMan(WalletStorage &storage, int64_t keypool_size)