From 9f88b7ce6bc9845e097a6d67f3d3c97110b819c1 Mon Sep 17 00:00:00 2001 From: Thomas Winget Date: Fri, 18 Jul 2014 19:33:03 -0400 Subject: Added get_connections RPC call to daemon --- src/cryptonote_protocol/cryptonote_protocol_handler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.h') diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.h b/src/cryptonote_protocol/cryptonote_protocol_handler.h index 80538677c..187e7b922 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.h +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.h @@ -5,6 +5,8 @@ #pragma once #include +#include +#include #include "storages/levin_abstract_invoke2.h" #include "warnings.h" @@ -53,6 +55,7 @@ namespace cryptonote t_core& get_core(){return m_core;} bool is_synchronized(){return m_synchronized;} void log_connections(); + std::list get_connections(); private: //----------------- commands handlers ---------------------------------------------- int handle_notify_new_block(int command, NOTIFY_NEW_BLOCK::request& arg, cryptonote_connection_context& context); -- cgit v1.2.3