mirror of
https://github.com/monero-project/monero.git
synced 2025-07-23 13:40:43 -04:00
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.
This commit is contained in:
parent
cd31ea9631
commit
a0590d29cd
16 changed files with 512 additions and 162 deletions
|
@ -43,18 +43,26 @@
|
|||
#include "cryptonote_core/cryptonote_core.h"
|
||||
#include "cryptonote_protocol/cryptonote_protocol_handler.h"
|
||||
#include "p2p/net_node.h"
|
||||
#include "rpc/core_rpc_server.h"
|
||||
|
||||
namespace daemonize {
|
||||
|
||||
class t_rpc_command_executor final {
|
||||
private:
|
||||
tools::t_rpc_client m_rpc_client;
|
||||
tools::t_rpc_client* m_rpc_client;
|
||||
cryptonote::core_rpc_server* m_rpc_server;
|
||||
bool m_is_rpc;
|
||||
|
||||
public:
|
||||
t_rpc_command_executor(
|
||||
uint32_t ip
|
||||
, uint16_t port
|
||||
, bool is_rpc = true
|
||||
, cryptonote::core_rpc_server* rpc_server = NULL
|
||||
);
|
||||
|
||||
~t_rpc_command_executor();
|
||||
|
||||
bool print_peer_list();
|
||||
|
||||
bool save_blockchain();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue