Monero
Loading...
Searching...
No Matches
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/difficulty.h"
#include "cryptonote_basic/hardfork.h"
#include "rpc/rpc_payment_signature.h"
#include "rpc/rpc_version_str.h"
#include <boost/format.hpp>
#include <ctime>
#include <string>
Include dependency graph for rpc_command_executor.cpp:

Namespaces

namespace  daemonize

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "daemon"

Functions

static void daemonize::get_metric_prefix (cryptonote::difficulty_type hr, double &hr_d, char &prefix)
static std::string daemonize::get_mining_speed (cryptonote::difficulty_type 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

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "daemon"