Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation #10

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions src/rpc_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
#include <silkworm/silkrpc/settings.hpp>
#include <silkworm/silkrpc/daemon.hpp>

// #include <agrpc/grpc_context.hpp>
// #include <grpcpp/grpcpp.h>
// #include <silkworm/core/types/log.hpp>
// #include <silkworm/common/settings.hpp>
// #include <silkworm/common/log.hpp>

class rpc_plugin_impl : std::enable_shared_from_this<rpc_plugin_impl> {
public:
rpc_plugin_impl(silkworm::rpc::DaemonSettings settings)
Expand All @@ -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<std::string>()->default_value(kDefaultEth1EndPoint),
("http-port", boost::program_options::value<std::string>()->default_value(silkworm::kDefaultEth1EndPoint),
"http port for JSON RPC of the form <address>:<port>")
("rpc-engine-port", boost::program_options::value<std::string>()->default_value(kDefaultEngineEndPoint),
("rpc-engine-port", boost::program_options::value<std::string>()->default_value(silkworm::kDefaultEngineEndPoint),
"engine port for JSON RPC of the form <address>:<port>")
("eos-evm-node", boost::program_options::value<std::string>()->default_value(kDefaultPrivateApiAddr),
("eos-evm-node", boost::program_options::value<std::string>()->default_value(silkworm::kDefaultPrivateApiAddr),
"address to eos-evm-node of the form <address>:<port>")
("rpc-threads", boost::program_options::value<uint32_t>()->default_value(16),
"number of threads for use with rpc")
Expand Down
Loading