Electroneum
Classes | Namespaces | Macros | Functions
core_rpc_server.cpp File Reference
#include <boost/preprocessor/stringize.hpp>
#include "include_base_utils.h"
#include "string_tools.h"
#include "core_rpc_server.h"
#include "common/command_line.h"
#include "common/updates.h"
#include "common/download.h"
#include "common/util.h"
#include "common/perf_timer.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "cryptonote_basic/account.h"
#include "cryptonote_basic/cryptonote_basic_impl.h"
#include "cryptonote_core/tx_sanity_check.h"
#include "misc_language.h"
#include "net/parse.h"
#include "storages/http_abstract_invoke.h"
#include "crypto/hash.h"
#include "rpc/rpc_args.h"
#include "rpc/rpc_handler.h"
#include "core_rpc_server_error_codes.h"
#include "p2p/net_node.h"
#include "version.h"
Include dependency graph for core_rpc_server.cpp:

Classes

class  cryptonote::pruned_transaction
 

Namespaces

 anonymous_namespace{core_rpc_server.cpp}
 
 cryptonote
 Holds cryptonote related classes and helpers.
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "daemon.rpc"
 
#define MAX_RESTRICTED_FAKE_OUTS_COUNT   40
 
#define MAX_RESTRICTED_GLOBAL_FAKE_OUTS_COUNT   5000
 
#define OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION   (3 * 86400)
 
#define OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION   (3 * 86400)
 
#define CHECK_CORE_READY()   do { if(!check_core_ready()){res.status = CORE_RPC_STATUS_BUSY;return true;} } while(0)
 

Functions

void anonymous_namespace{core_rpc_server.cpp}::add_reason (std::string &reasons, const char *reason)
 
uint64_t anonymous_namespace{core_rpc_server.cpp}::round_up (uint64_t value, uint64_t quantum)
 
void anonymous_namespace{core_rpc_server.cpp}::store_difficulty (cryptonote::difficulty_type difficulty, uint64_t &sdiff, std::string &swdiff, uint64_t &stop64)
 
size_t cryptonote::slow_memmem (const void *start_buff, size_t buflen, const void *pat, size_t patlen)
 

Macro Definition Documentation

◆ CHECK_CORE_READY

#define CHECK_CORE_READY ( )    do { if(!check_core_ready()){res.status = CORE_RPC_STATUS_BUSY;return true;} } while(0)

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "daemon.rpc"

◆ MAX_RESTRICTED_FAKE_OUTS_COUNT

#define MAX_RESTRICTED_FAKE_OUTS_COUNT   40

◆ MAX_RESTRICTED_GLOBAL_FAKE_OUTS_COUNT

#define MAX_RESTRICTED_GLOBAL_FAKE_OUTS_COUNT   5000

◆ OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION [1/2]

#define OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION   (3 * 86400)

◆ OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION [2/2]

#define OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION   (3 * 86400)