|
Electroneum
|
#include <algorithm>#include <cstdio>#include <boost/filesystem.hpp>#include <boost/range/adaptor/reversed.hpp>#include "include_base_utils.h"#include "cryptonote_basic/cryptonote_basic_impl.h"#include "tx_pool.h"#include "blockchain.h"#include "blockchain_db/blockchain_db.h"#include "cryptonote_basic/cryptonote_boost_serialization.h"#include "cryptonote_config.h"#include "cryptonote_basic/miner.h"#include "misc_language.h"#include "profile_tools.h"#include "file_io_utils.h"#include "int-util.h"#include "common/threadpool.h"#include "common/boost_serialization_helper.h"#include "warnings.h"#include "crypto/hash.h"#include "cryptonote_core.h"#include "ringct/rctSigs.h"#include "common/perf_timer.h"#include "common/notify.h"#include "common/varint.h"#include "common/pruning.h"
Namespaces | |
| cryptonote | |
| Holds cryptonote related classes and helpers. | |
Macros | |
| #define | ELECTRONEUM_DEFAULT_LOG_CATEGORY "blockchain" |
| #define | FIND_BLOCKCHAIN_SUPPLEMENT_MAX_SIZE (100*1024*1024) |
| #define | FIND_BLOCKCHAIN_SUPPLEMENT_MAX_SIZE (100*1024*1024) |
| #define | MERROR_VER(x) MCERROR("verify", x) |
| #define | BLOCK_REWARD_OVERESTIMATE (10 * 1000000000000) |
| #define | SCAN_TABLE_QUIT(m) |
Functions | |
| void | slow_hash_allocate_state () |
| void | slow_hash_free_state () |
| template<typename T > | |
| void | reserve_container (std::vector< T > &v, size_t N) |
| template<typename T > | |
| void | reserve_container (std::list< T > &v, size_t N) |
| size_t | get_transaction_version (const cryptonote::blobdata &bd) |
Variables | |
| struct { | |
| uint8_t version | |
| uint64_t height | |
| uint8_t threshold | |
| time_t time | |
| } | mainnet_hard_forks [] |
| static const uint64_t | mainnet_hard_fork_version_1_till = 307499 |
| struct { | |
| uint8_t version | |
| uint64_t height | |
| uint8_t threshold | |
| time_t time | |
| } | testnet_hard_forks [] |
| static const uint64_t | testnet_hard_fork_version_1_till = 190059 |
| struct { | |
| uint8_t version | |
| uint64_t height | |
| uint8_t threshold | |
| time_t time | |
| } | stagenet_hard_forks [] |
| #define BLOCK_REWARD_OVERESTIMATE (10 * 1000000000000) |
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "blockchain" |
| #define FIND_BLOCKCHAIN_SUPPLEMENT_MAX_SIZE (100*1024*1024) |
| #define FIND_BLOCKCHAIN_SUPPLEMENT_MAX_SIZE (100*1024*1024) |
| #define MERROR_VER | ( | x | ) | MCERROR("verify", x) |
| #define SCAN_TABLE_QUIT | ( | m | ) |
| size_t get_transaction_version | ( | const cryptonote::blobdata & | bd | ) |
| void reserve_container | ( | std::list< T > & | v, |
| size_t | N | ||
| ) |
| void reserve_container | ( | std::vector< T > & | v, |
| size_t | N | ||
| ) |
| void slow_hash_allocate_state | ( | ) |
| void slow_hash_free_state | ( | ) |
| uint64_t height |
|
static |
| const { ... } mainnet_hard_forks[] |
| const { ... } stagenet_hard_forks[] |
|
static |
| const { ... } testnet_hard_forks[] |
| uint8_t threshold |
| time_t time |
| uint8_t version |