Electroneum
Namespaces | Macros | Functions
rpc_command_executor.cpp File Reference
#include "string_tools.h"
#include "common/password.h"
#include "common/scoped_message_writer.h"
#include "common/pruning.h"
#include "daemon/rpc_command_executor.h"
#include "rpc/core_rpc_server_commands_defs.h"
#include "cryptonote_core/cryptonote_core.h"
#include "cryptonote_basic/hardfork.h"
#include <boost/format.hpp>
#include <ctime>
#include <string>
Include dependency graph for rpc_command_executor.cpp:

Namespaces

 daemonize
 
 daemonize::anonymous_namespace{rpc_command_executor.cpp}
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "daemon"
 

Functions

void daemonize::anonymous_namespace{rpc_command_executor.cpp}::print_peer (std::string const &prefix, cryptonote::peer const &peer)
 
void daemonize::anonymous_namespace{rpc_command_executor.cpp}::print_block_header (cryptonote::block_header_response const &header)
 
std::string daemonize::anonymous_namespace{rpc_command_executor.cpp}::get_human_time_ago (time_t t, time_t now)
 
std::string daemonize::anonymous_namespace{rpc_command_executor.cpp}::get_time_hms (time_t t)
 
std::string daemonize::anonymous_namespace{rpc_command_executor.cpp}::make_error (const std::string &base, const std::string &status)
 
static std::string daemonize::get_mining_speed (uint64_t hr)
 
static std::string daemonize::get_fork_extra_info (uint64_t t, uint64_t now, uint64_t block_time)
 
static float daemonize::get_sync_percentage (uint64_t height, uint64_t target_height)
 
static float daemonize::get_sync_percentage (const cryptonote::COMMAND_RPC_GET_INFO::response &ires)
 

Macro Definition Documentation

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "daemon"