mirror of
https://github.com/monero-project/monero.git
synced 2025-08-23 17:35:13 -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
|
@ -47,17 +47,25 @@ namespace daemonize {
|
|||
class t_command_server {
|
||||
private:
|
||||
t_command_parser_executor m_parser;
|
||||
epee::command_handler m_command_lookup;
|
||||
epee::console_handlers_binder m_command_lookup;
|
||||
bool m_is_rpc;
|
||||
|
||||
public:
|
||||
t_command_server(
|
||||
uint32_t ip
|
||||
, uint16_t port
|
||||
, bool is_rpc = true
|
||||
, cryptonote::core_rpc_server* rpc_server = NULL
|
||||
);
|
||||
|
||||
bool process_command_str(const std::string& cmd);
|
||||
|
||||
bool process_command_vec(const std::vector<std::string>& cmd);
|
||||
|
||||
bool start_handling();
|
||||
|
||||
void stop_handling();
|
||||
|
||||
private:
|
||||
bool help(const std::vector<std::string>& args);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue