Monero
Loading...
Searching...
No Matches
Namespaces | Macros | Functions | Variables
cryptonote_core.cpp File Reference
#include <boost/algorithm/string.hpp>
#include <boost/uuid/nil_generator.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 "cryptonote_basic/events.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 "rpc/zmq_pub.h"
#include "common/notify.h"
#include "hardforks/hardforks.h"
#include "tx_verification_utils.h"
#include "version.h"
#include <boost/filesystem.hpp>
Include dependency graph for cryptonote_core.cpp:

Namespaces

namespace  cryptonote
 Holds cryptonote related classes and helpers.
 

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "cn"
 
#define MERROR_VER(x)   MCERROR("verify", x)
 
#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)
 
static double cryptonote::probability1 (unsigned int blocks, unsigned int expected)
 
static double cryptonote::probability (unsigned int blocks, unsigned int expected)
 

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< boolcryptonote::arg_keep_fakechain
 
const command_line::arg_descriptor< difficulty_typecryptonote::arg_fixed_difficulty
 
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_sync_pruned_blocks
 
static const command_line::arg_descriptor< boolcryptonote::arg_test_drop_download
 
static const command_line::arg_descriptor< uint64_t > cryptonote::arg_test_drop_download_height
 
static const command_line::arg_descriptor< int > cryptonote::arg_test_dbg_lock_sleep
 
static const command_line::arg_descriptor< boolcryptonote::arg_dns_checkpoints
 
static const command_line::arg_descriptor< uint64_t > cryptonote::arg_fast_block_sync
 
static const command_line::arg_descriptor< uint64_t > cryptonote::arg_prep_blocks_threads
 
static const command_line::arg_descriptor< uint64_t > cryptonote::arg_show_time_stats
 
static const command_line::arg_descriptor< size_t > cryptonote::arg_block_sync_size
 
static const command_line::arg_descriptor< std::string > cryptonote::arg_check_updates
 
static const command_line::arg_descriptor< boolcryptonote::arg_fluffy_blocks
 
static const command_line::arg_descriptor< size_t > cryptonote::arg_max_txpool_weight
 
static const command_line::arg_descriptor< std::string > cryptonote::arg_block_notify
 
static const command_line::arg_descriptor< boolcryptonote::arg_prune_blockchain
 
static const command_line::arg_descriptor< std::string > cryptonote::arg_reorg_notify
 
static const command_line::arg_descriptor< std::string > cryptonote::arg_block_rate_notify
 
static const command_line::arg_descriptor< boolcryptonote::arg_keep_alt_blocks
 

Macro Definition Documentation

◆ BLOCK_SIZE_SANITY_LEEWAY

#define BLOCK_SIZE_SANITY_LEEWAY   100

◆ MERROR_VER

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

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "cn"