daemon: add --public-node mode, RPC port propagation over P2P

This commit is contained in:
xiphon 2019-02-24 08:47:49 +00:00
parent 31bdf7bd11
commit 551104fbf1
20 changed files with 147 additions and 30 deletions

View file

@ -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;
};
}