aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/executor.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-02-24 08:47:49 +0000
committerxiphon <xiphon@protonmail.com>2019-02-25 02:40:23 +0300
commit551104fbf1d2d82cad57d5ea240d1b7be2810ea1 (patch)
treef6ee718c60963bab82468c577f1705eef54b7768 /src/daemon/executor.h
parent31bdf7bd113c2576fe579ef3a25a2d8fef419ffc (diff)
downloadmonzero-core-551104fbf1d2d82cad57d5ea240d1b7be2810ea1.tar.gz
monzero-core-551104fbf1d2d82cad57d5ea240d1b7be2810ea1.tar.xz
monzero-core-551104fbf1d2d82cad57d5ea240d1b7be2810ea1.zip
daemon: add --public-node mode, RPC port propagation over P2P
Diffstat (limited to 'src/daemon/executor.h')
-rw-r--r--src/daemon/executor.h7
1 files changed, 7 insertions, 0 deletions
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;
};
}