From ce7fcbb4aea884bb4bf433cf419ffa267f859c87 Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Sun, 5 Feb 2017 17:48:03 -0500 Subject: Add server auth to monerod, and client auth to wallet-cli and wallet-rpc --- src/daemon/rpc_command_executor.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/daemon/rpc_command_executor.h') diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index afcd99d32..4691844fa 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -38,6 +38,9 @@ #pragma once +#include + +#include "common/common_fwd.h" #include "common/rpc_client.h" #include "misc_log_ex.h" #include "cryptonote_core/cryptonote_core.h" @@ -60,7 +63,7 @@ public: t_rpc_command_executor( uint32_t ip , uint16_t port - , const std::string &user_agent + , const boost::optional& user , bool is_rpc = true , cryptonote::core_rpc_server* rpc_server = NULL ); -- cgit v1.2.3