aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc.h
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-03-27 08:01:30 -0400
committerThomas Winget <tewinget@gmail.com>2015-03-27 08:01:30 -0400
commita0590d29cd9949c65a4cd67630a84410a30d33fe (patch)
tree4e87da719ff11ccfa61798f3bd07d42574cc9c22 /src/daemon/rpc.h
parentMerge pull request #247 (diff)
downloadmonero-a0590d29cd9949c65a4cd67630a84410a30d33fe.tar.xz
Restore daemon interactive mode
Daemon interactive mode is now working again. RPC mapped calls in daemon and wallet have both had connection_context removed as an argument as that argument was not being used anywhere.
Diffstat (limited to 'src/daemon/rpc.h')
-rw-r--r--src/daemon/rpc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/rpc.h b/src/daemon/rpc.h
index cf7da51a7..6477f440e 100644
--- a/src/daemon/rpc.h
+++ b/src/daemon/rpc.h
@@ -82,6 +82,11 @@ public:
m_server.timed_wait_server_stop(5000);
}
+ cryptonote::core_rpc_server* get_server()
+ {
+ return &m_server;
+ }
+
~t_rpc()
{
LOG_PRINT_L0("Deinitializing rpc server...");