aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_handler.h
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-07-18 19:33:03 -0400
committerThomas Winget <tewinget@gmail.com>2014-07-18 19:33:03 -0400
commit9f88b7ce6bc9845e097a6d67f3d3c97110b819c1 (patch)
tree689d224568a6921f899bb592b7f6ed085f626445 /src/cryptonote_protocol/cryptonote_protocol_handler.h
parentMerge pull request #63 from mikezackles/bytecoin_for_merge (diff)
downloadmonero-9f88b7ce6bc9845e097a6d67f3d3c97110b819c1.tar.xz
Added get_connections RPC call to daemon
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.h')
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_handler.h3
1 files changed, 3 insertions, 0 deletions
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 <boost/program_options/variables_map.hpp>
+#include <string>
+#include <ctime>
#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<connection_info> get_connections();
private:
//----------------- commands handlers ----------------------------------------------
int handle_notify_new_block(int command, NOTIFY_NEW_BLOCK::request& arg, cryptonote_connection_context& context);