diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-07-18 19:35:45 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-07-18 19:35:45 -0400 |
commit | 1c33b6cbeeb0d8d6331287429cfd01f8222cfe7b (patch) | |
tree | 689d224568a6921f899bb592b7f6ed085f626445 /src/cryptonote_protocol/cryptonote_protocol_handler.h | |
parent | Merge pull request #63 from mikezackles/bytecoin_for_merge (diff) | |
parent | Added get_connections RPC call to daemon (diff) | |
download | monero-1c33b6cbeeb0d8d6331287429cfd01f8222cfe7b.tar.xz |
Merge pull request #65 from tewinget/daemon_rpc
Added get_connections RPC call to daemon
Only consists of new functionality and doesn't break build, merging per request.
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.h')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.h | 3 |
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); |