refactor: reduce #ifdef ENABLE_EXTERNAL_SIGNER usage

In particular this make the node interface independent on whether external signer support is compiled.
This commit is contained in:
Sjors Provoost
2021-05-13 15:23:19 +02:00
parent 5be90c907e
commit 4455145e26
12 changed files with 15 additions and 45 deletions

View File

@@ -111,10 +111,8 @@ 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;