diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2019-04-27 19:10:35 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-02-23 14:34:30 +0100 |
commit | 8cf543f96dcd6fdfac1367b9e2b1d7d51be8bb76 (patch) | |
tree | b37cf68c9abcdc19550365706071618cceeb6e9b /src/wallet/external_signer.cpp | |
parent | f7eb7ecc6750ab267a979d9268ce5b5d151c26de (diff) | |
download | bitcoin-8cf543f96dcd6fdfac1367b9e2b1d7d51be8bb76.tar.xz |
wallet: add -signer argument for external signer command
Create basic ExternalSigner class with contructor. A Signer(<cmd>)
is added to CWallet on load if -signer=<cmd> is set.
Diffstat (limited to 'src/wallet/external_signer.cpp')
-rw-r--r-- | src/wallet/external_signer.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wallet/external_signer.cpp b/src/wallet/external_signer.cpp new file mode 100644 index 0000000000..6f850e4779 --- /dev/null +++ b/src/wallet/external_signer.cpp @@ -0,0 +1,8 @@ +// Copyright (c) 2018-2021 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#include <wallet/external_signer.h> +#include <util/system.h> + +ExternalSigner::ExternalSigner(const std::string& command, const std::string& fingerprint): m_command(command), m_fingerprint(fingerprint) {} |