aboutsummaryrefslogtreecommitdiff
path: root/src/interface/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/node.h')
-rw-r--r--src/interface/node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interface/node.h b/src/interface/node.h
index 00304cce24..60ef9cce1b 100644
--- a/src/interface/node.h
+++ b/src/interface/node.h
@@ -5,6 +5,7 @@
#ifndef BITCOIN_INTERFACE_NODE_H
#define BITCOIN_INTERFACE_NODE_H
+#include <init.h> // For HelpMessageMode
#include <netaddress.h> // For Network
#include <functional>
@@ -62,6 +63,9 @@ public:
//! Return whether shutdown was requested.
virtual bool shutdownRequested() = 0;
+ //! Get help message string.
+ virtual std::string helpMessage(HelpMessageMode mode) = 0;
+
//! Map port.
virtual void mapPort(bool use_upnp) = 0;