5 #ifndef BITCOIN_EXTERNAL_SIGNER_H 6 #define BITCOIN_EXTERNAL_SIGNER_H 47 static bool Enumerate(
const std::string&
command, std::vector<ExternalSigner>& signers,
const std::string& chain);
66 #endif // BITCOIN_EXTERNAL_SIGNER_H Enables interaction with an external signing device or service, such as a hardware wallet...
UniValue GetDescriptors(int account)
Get receive and change Descriptor(s) from device for a given account.
A version of CTransaction with the PSBT format.
std::string m_fingerprint
Master key fingerprint of the signer.
std::string m_name
Name of signer.
std::string m_chain
Bitcoin mainnet, testnet, etc.
std::vector< std::string > NetworkArg() const
UniValue DisplayAddress(const std::string &descriptor) const
Display address on the device.
ExternalSigner(std::vector< std::string > command, std::string chain, std::string fingerprint, std::string name)
std::vector< std::string > m_command
The command which handles interaction with the external signer.
bool SignTransaction(PartiallySignedTransaction &psbt, std::string &error)
Sign PartiallySignedTransaction on the device.
static bool Enumerate(const std::string &command, std::vector< ExternalSigner > &signers, const std::string &chain)
Obtain a list of signers.