Electroneum
cryptonote_core.cpp File Reference
#include <boost/algorithm/string.hpp>
#include "string_tools.h"
#include <unordered_set>
#include "cryptonote_core.h"
#include "common/util.h"
#include "common/updates.h"
#include "common/download.h"
#include "common/threadpool.h"
#include "common/command_line.h"
#include "warnings.h"
#include "crypto/crypto.h"
#include "cryptonote_config.h"
#include "misc_language.h"
#include "file_io_utils.h"
#include <csignal>
#include "checkpoints/checkpoints.h"
#include "ringct/rctTypes.h"
#include "blockchain_db/blockchain_db.h"
#include "ringct/rctSigs.h"
#include "common/notify.h"
#include "version.h"
Include dependency graph for cryptonote_core.cpp:

Go to the source code of this file.

Namespaces

 cryptonote
 Holds cryptonote related classes and helpers.
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "cn"
 
#define MERROR_VER(x)   MCERROR("verify", x)
 
#define BAD_SEMANTICS_TXES_MAX_SIZE   100
 
#define BLOCK_SIZE_SANITY_LEEWAY   100
 

Functions

block_complete_entry cryptonote::get_block_complete_entry (block &b, tx_memory_pool &pool)
 
double cryptonote::factorial (unsigned int n)
 

Variables

const command_line::arg_descriptor< bool, falsecryptonote::arg_testnet_on
 
const command_line::arg_descriptor< bool, falsecryptonote::arg_stagenet_on
 
const command_line::arg_descriptor< boolcryptonote::arg_regtest_on
 
const command_line::arg_descriptor< difficulty_type > cryptonote::arg_fixed_difficulty
 
const command_line::arg_descriptor< boolcryptonote::arg_skip_block_sig_verification
 
const command_line::arg_descriptor< std::string, false, true, 2 > cryptonote::arg_data_dir
 
const command_line::arg_descriptor< boolcryptonote::arg_offline
 
const command_line::arg_descriptor< boolcryptonote::arg_disable_dns_checkpoints
 
const command_line::arg_descriptor< size_t > cryptonote::arg_block_download_max_size
 
const command_line::arg_descriptor< boolcryptonote::arg_fallback_to_pow
 
const command_line::arg_descriptor< uint64_tcryptonote::arg_fallback_to_pow_checkpoint_height
 
const command_line::arg_descriptor< std::string > cryptonote::arg_fallback_to_pow_checkpoint_hash
 

Macro Definition Documentation

◆ BAD_SEMANTICS_TXES_MAX_SIZE

#define BAD_SEMANTICS_TXES_MAX_SIZE   100

Definition at line 64 of file cryptonote_core.cpp.

◆ BLOCK_SIZE_SANITY_LEEWAY

#define BLOCK_SIZE_SANITY_LEEWAY   100

Definition at line 67 of file cryptonote_core.cpp.

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "cn"

Definition at line 58 of file cryptonote_core.cpp.

◆ MERROR_VER

#define MERROR_VER (   x)    MCERROR("verify", x)

Definition at line 62 of file cryptonote_core.cpp.