aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2019-10-29 20:53:49 +0100
committerSjors Provoost <sjors@sprovoost.nl>2021-05-27 14:01:54 +0200
commit3f845ea2994f53e29abeb3fa158c35f1ee56e7e8 (patch)
treec17a98c7ae68cc85c897bf1c9b957b6158df8154 /src/interfaces
parent62ac119f919ae1160ed67af796f24b78025fa8e3 (diff)
node: add externalSigners to interface
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/node.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index 1dd1e92e2f..35b6160cea 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -6,6 +6,7 @@
#define BITCOIN_INTERFACES_NODE_H
#include <amount.h> // For CAmount
+#include <external_signer.h>
#include <net.h> // For NodeId
#include <net_types.h> // For banmap_t
#include <netaddress.h> // For Network
@@ -110,6 +111,11 @@ public:
//! Disconnect node by id.
virtual bool disconnectById(NodeId id) = 0;
+#ifdef ENABLE_EXTERNAL_SIGNER
+ //! List external signers
+ virtual std::vector<ExternalSigner> externalSigners() = 0;
+#endif
+
//! Get total bytes recv.
virtual int64_t getTotalBytesRecv() = 0;