Monero
Loading...
Searching...
No Matches
daemonize Namespace Reference

Classes

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

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()

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

◆ get_metric_prefix()

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

◆ get_mining_speed()

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

◆ get_sync_percentage() [1/2]

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

◆ get_sync_percentage() [2/2]

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