Electroneum
blockchain_db.cpp File Reference
#include <boost/range/adaptor/reversed.hpp>
#include <unordered_set>
#include "string_tools.h"
#include "blockchain_db.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "profile_tools.h"
#include "ringct/rctOps.h"
#include "lmdb/db_lmdb.h"
Include dependency graph for blockchain_db.cpp:

Go to the source code of this file.

Namespaces

 cryptonote
 Holds cryptonote related classes and helpers.
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "blockchain.db"
 

Functions

bool cryptonote::blockchain_valid_db_type (const std::string &db_type)
 
std::string cryptonote::blockchain_db_types (const std::string &sep)
 
BlockchainDB * cryptonote::new_db (const std::string &db_type)
 

Variables

std::string cryptonote::arg_db_type_description = "Specify database type, available: " + cryptonote::blockchain_db_types(", ")
 
const command_line::arg_descriptor< std::string > cryptonote::arg_db_type
 
const command_line::arg_descriptor< std::string > cryptonote::arg_db_sync_mode
 
const command_line::arg_descriptor< boolcryptonote::arg_db_salvage
 
const command_line::arg_descriptor< boolcryptonote::arg_addr_db_salvage
 

Macro Definition Documentation

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "blockchain.db"

Definition at line 53 of file blockchain_db.cpp.