Monero
Classes | Functions
daemonize Namespace Reference

Classes

class  t_command_parser_executor
 
class  t_command_server
 
class  t_core
 
class  t_daemon
 
class  t_executor
 
struct  t_internals
 
class  t_p2p
 
class  t_protocol
 
class  t_rpc
 
class  t_rpc_command_executor
 
struct  zmq_internals
 

Functions

static void get_metric_prefix (cryptonote::difficulty_type hr, double &hr_d, char &prefix)
 
static std::string get_mining_speed (cryptonote::difficulty_type hr)
 
static std::string get_fork_extra_info (uint64_t t, uint64_t now, uint64_t block_time)
 
static float get_sync_percentage (uint64_t height, uint64_t target_height)
 
static float get_sync_percentage (const cryptonote::COMMAND_RPC_GET_INFO::response &ires)
 

Function Documentation

◆ get_fork_extra_info()

static std::string daemonize::get_fork_extra_info ( uint64_t  t,
uint64_t  now,
uint64_t  block_time 
)
static

◆ get_metric_prefix()

static void daemonize::get_metric_prefix ( cryptonote::difficulty_type  hr,
double &  hr_d,
char &  prefix 
)
static

◆ get_mining_speed()

static std::string daemonize::get_mining_speed ( cryptonote::difficulty_type  hr)
static

◆ get_sync_percentage() [1/2]

static float daemonize::get_sync_percentage ( uint64_t  height,
uint64_t  target_height 
)
static

◆ get_sync_percentage() [2/2]

static float daemonize::get_sync_percentage ( const cryptonote::COMMAND_RPC_GET_INFO::response ires)
static