diff --git a/src/rpc_plugin.cpp b/src/rpc_plugin.cpp index c36c970..669b0e9 100644 --- a/src/rpc_plugin.cpp +++ b/src/rpc_plugin.cpp @@ -8,12 +8,6 @@ #include #include -// #include -// #include -// #include -// #include -// #include - class rpc_plugin_impl : std::enable_shared_from_this { public: rpc_plugin_impl(silkworm::rpc::DaemonSettings settings) @@ -32,11 +26,11 @@ rpc_plugin::~rpc_plugin() {} void rpc_plugin::set_program_options( appbase::options_description& cli, appbase::options_description& cfg ) { cfg.add_options() - ("http-port", boost::program_options::value()->default_value(kDefaultEth1EndPoint), + ("http-port", boost::program_options::value()->default_value(silkworm::kDefaultEth1EndPoint), "http port for JSON RPC of the form
:") - ("rpc-engine-port", boost::program_options::value()->default_value(kDefaultEngineEndPoint), + ("rpc-engine-port", boost::program_options::value()->default_value(silkworm::kDefaultEngineEndPoint), "engine port for JSON RPC of the form
:") - ("eos-evm-node", boost::program_options::value()->default_value(kDefaultPrivateApiAddr), + ("eos-evm-node", boost::program_options::value()->default_value(silkworm::kDefaultPrivateApiAddr), "address to eos-evm-node of the form
:") ("rpc-threads", boost::program_options::value()->default_value(16), "number of threads for use with rpc")