|
Monero
|
#include "db_lmdb.h"#include <boost/filesystem.hpp>#include <boost/filesystem/fstream.hpp>#include <boost/format.hpp>#include <boost/circular_buffer.hpp>#include <memory>#include <cstring>#include "string_tools.h"#include "common/util.h"#include "common/pruning.h"#include "cryptonote_basic/cryptonote_format_utils.h"#include "crypto/crypto.h"#include "profile_tools.h"#include "ringct/rctOps.h"
Classes | |
| struct | cryptonote::mdb_block_info_1 |
| struct | cryptonote::mdb_block_info_2 |
| struct | cryptonote::mdb_block_info_3 |
| struct | cryptonote::mdb_block_info_4 |
| struct | cryptonote::blk_height |
| struct | cryptonote::pre_rct_outkey |
| struct | cryptonote::outkey |
| struct | cryptonote::outtx |
Namespaces | |
| namespace | cryptonote |
| Holds cryptonote related classes and helpers. | |
Macros | |
| #define | MONERO_DEFAULT_LOG_CATEGORY "blockchain.db.lmdb" |
| #define | VERSION 5 |
| #define | MDB_val_set(var, val) |
| #define | MDB_val_sized(var, val) |
| #define | MDB_val_str(var, val) |
| #define | CURSOR(name) |
| #define | RCURSOR(name) |
| #define | TXN_PREFIX(flags) |
| #define | TXN_PREFIX_RDONLY() |
| #define | TXN_POSTFIX_RDONLY() |
| #define | TXN_POSTFIX_SUCCESS() |
| #define | TXN_BLOCK_PREFIX(flags) |
| #define | TXN_BLOCK_POSTFIX_SUCCESS() |
| #define | RENAME_DB(name) |
| #define | LOGIF(y) |
| #define | DELETE_DB(x) |
Typedefs | |
| typedef struct cryptonote::mdb_block_info_1 | cryptonote::mdb_block_info_1 |
| typedef struct cryptonote::mdb_block_info_2 | cryptonote::mdb_block_info_2 |
| typedef struct cryptonote::mdb_block_info_3 | cryptonote::mdb_block_info_3 |
| typedef struct cryptonote::mdb_block_info_4 | cryptonote::mdb_block_info_4 |
| typedef mdb_block_info_4 | cryptonote::mdb_block_info |
| typedef struct cryptonote::blk_height | cryptonote::blk_height |
| typedef struct cryptonote::pre_rct_outkey | cryptonote::pre_rct_outkey |
| typedef struct cryptonote::outkey | cryptonote::outkey |
| typedef struct cryptonote::outtx | cryptonote::outtx |
Enumerations | |
| enum | { cryptonote::prune_mode_prune , cryptonote::prune_mode_update , cryptonote::prune_mode_check } |
Functions | |
| void | cryptonote::lmdb_resized (MDB_env *env, int isactive) |
| int | cryptonote::lmdb_txn_begin (MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **txn) |
| int | cryptonote::lmdb_txn_renew (MDB_txn *txn) |
| static bool | cryptonote::is_v1_tx (MDB_cursor *c_txs_pruned, MDB_val *tx_id) |
| template<class t_pod_type> | |
| std::string | pod_to_hex (const t_pod_type &s) |
| #define CURSOR | ( | name | ) |
| #define DELETE_DB | ( | x | ) |
| #define LOGIF | ( | y | ) |
| #define MDB_val_set | ( | var, | |
| val ) |
| #define MDB_val_sized | ( | var, | |
| val ) |
| #define MDB_val_str | ( | var, | |
| val ) |
| #define MONERO_DEFAULT_LOG_CATEGORY "blockchain.db.lmdb" |
| #define RCURSOR | ( | name | ) |
| #define RENAME_DB | ( | name | ) |
| #define TXN_BLOCK_POSTFIX_SUCCESS | ( | ) |
| #define TXN_BLOCK_PREFIX | ( | flags | ) |
| #define TXN_POSTFIX_RDONLY | ( | ) |
| #define TXN_POSTFIX_SUCCESS | ( | ) |
| #define TXN_PREFIX | ( | flags | ) |
| #define TXN_PREFIX_RDONLY | ( | ) |
| #define VERSION 5 |
| std::string epee::string_tools::pod_to_hex | ( | const t_pod_type & | s | ) |