#include <external_signer.h>
|
| std::string | m_fingerprint |
| | Master key fingerprint of the signer.
|
| std::string | m_name |
| | Name of signer.
|
|
| std::vector< std::string > | m_command |
| | The command which handles interaction with the external signer.
|
| std::string | m_chain |
| | Bitcoin mainnet, testnet, etc.
|
Enables interaction with an external signing device or service, such as a hardware wallet. See doc/external-signer.md
Definition at line 18 of file external_signer.h.
◆ ExternalSigner()
| ExternalSigner::ExternalSigner |
( |
std::vector< std::string > | command, |
|
|
std::string | chain, |
|
|
std::string | fingerprint, |
|
|
std::string | name ) |
- Parameters
-
| [in] | command | the command which handles interaction with the external signer |
| [in] | fingerprint | master key fingerprint of the signer |
| [in] | chain | "main", "test", "regtest" or "signet" |
| [in] | name | device name |
Definition at line 19 of file external_signer.cpp.
◆ DisplayAddress()
| UniValue ExternalSigner::DisplayAddress |
( |
const std::string & | descriptor | ) |
const |
Display address on the device. Calls <command> displayaddress --desc <descriptor>.
- Parameters
-
| [in] | descriptor | Descriptor specifying which address to display. Must include a public key or xpub, as well as key origin. |
Definition at line 67 of file external_signer.cpp.
◆ Enumerate()
| bool ExternalSigner::Enumerate |
( |
const std::string & | command, |
|
|
std::vector< ExternalSigner > & | signers, |
|
|
const std::string & | chain ) |
|
static |
Obtain a list of signers. Calls <command> enumerate.
- Parameters
-
| [in] | command | the command which handles interaction with the external signer |
| [in,out] | signers | vector to which new signers (with a unique master key fingerprint) are added |
| chain | "main", "test", "regtest" or "signet" |
- Returns
- success
Definition at line 27 of file external_signer.cpp.
◆ GetDescriptors()
| UniValue ExternalSigner::GetDescriptors |
( |
int | account | ) |
|
Get receive and change Descriptor(s) from device for a given account. Calls <command> getdescriptors --account <account>
- Parameters
-
| [in] | account | which BIP32 account to use (e.g. m/44'/0'/account') |
- Returns
- see doc/external-signer.md
Definition at line 72 of file external_signer.cpp.
◆ NetworkArg()
| std::vector< std::string > ExternalSigner::NetworkArg |
( |
| ) |
const |
|
private |
◆ SignTransaction()
◆ m_chain
| std::string ExternalSigner::m_chain |
|
private |
◆ m_command
| std::vector<std::string> ExternalSigner::m_command |
|
private |
The command which handles interaction with the external signer.
Definition at line 22 of file external_signer.h.
◆ m_fingerprint
| std::string ExternalSigner::m_fingerprint |
◆ m_name
| std::string ExternalSigner::m_name |
The documentation for this class was generated from the following files: