Electroneum
core_rpc_server.cpp File Reference
#include <boost/preprocessor/stringize.hpp>
#include "include_base_utils.h"
#include "string_tools.h"
#include <boost/format.hpp>
#include <numeric>
#include <stdio.h>
#include <time.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:

Go to the source code of this file.

Classes

class  cryptonote::pruned_transaction
 

Namespaces

 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

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)

Definition at line 171 of file core_rpc_server.cpp.

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "daemon.rpc"

Definition at line 62 of file core_rpc_server.cpp.

◆ MAX_RESTRICTED_FAKE_OUTS_COUNT

#define MAX_RESTRICTED_FAKE_OUTS_COUNT   40

Definition at line 64 of file core_rpc_server.cpp.

◆ MAX_RESTRICTED_GLOBAL_FAKE_OUTS_COUNT

#define MAX_RESTRICTED_GLOBAL_FAKE_OUTS_COUNT   5000

Definition at line 65 of file core_rpc_server.cpp.

◆ OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION [1/2]

#define OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION   (3 * 86400)

Definition at line 91 of file core_rpc_server.cpp.

◆ OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION [2/2]

#define OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION   (3 * 86400)

Definition at line 91 of file core_rpc_server.cpp.