diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-03-17 17:56:04 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-03-17 17:56:04 +0200 |
commit | 848591c4d85ae73c42b3317d9dab192267bc2737 (patch) | |
tree | 49609ee8a89b8e475ba610c6af08507aea9ac9bb /src/daemon/executor.h | |
parent | Merge pull request #5185 (diff) | |
parent | daemon: add --public-node mode, RPC port propagation over P2P (diff) | |
download | monero-848591c4d85ae73c42b3317d9dab192267bc2737.tar.xz |
Merge pull request #5190
551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
Diffstat (limited to 'src/daemon/executor.h')
-rw-r--r-- | src/daemon/executor.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/daemon/executor.h b/src/daemon/executor.h index 819538907..61e4e1bbf 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; }; } |