From 551104fbf1d2d82cad57d5ea240d1b7be2810ea1 Mon Sep 17 00:00:00 2001 From: xiphon Date: Sun, 24 Feb 2019 08:47:49 +0000 Subject: daemon: add --public-node mode, RPC port propagation over P2P --- src/daemon/executor.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/daemon/executor.h') diff --git a/src/daemon/executor.h b/src/daemon/executor.h index 79d70567a..de9fecbd2 100644 --- a/src/daemon/executor.h +++ b/src/daemon/executor.h @@ -45,6 +45,10 @@ namespace daemonize static std::string const NAME; + t_executor(uint16_t public_rpc_port = 0) : public_rpc_port(public_rpc_port) + { + } + static void init_options( boost::program_options::options_description & configurable_options ); @@ -62,5 +66,8 @@ namespace daemonize bool run_interactive( boost::program_options::variables_map const & vm ); + + private: + uint16_t public_rpc_port; }; } -- cgit v1.2.3