5 #ifndef BITCOIN_WALLET_EXTERNAL_SIGNER_SCRIPTPUBKEYMAN_H
6 #define BITCOIN_WALLET_EXTERNAL_SIGNER_SCRIPTPUBKEYMAN_H
Serialized script, used inside transaction inputs and outputs.
Enables interaction with an external signing device or service, such as a hardware wallet.
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, 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...
bool DisplayAddress(const CScript scriptPubKey, const ExternalSigner &signer) const
static ExternalSigner GetExternalSigner()
ExternalSignerScriptPubKeyMan(WalletStorage &storage, int64_t keypool_size)
Descriptor with some wallet metadata.
A version of CTransaction with the PSBT format.