mirror of
https://github.com/monero-project/monero.git
synced 2025-11-24 14:44:24 -05:00
Added get_connections RPC call to daemon
This commit is contained in:
parent
905b67bc79
commit
9f88b7ce6b
6 changed files with 116 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue