|
Electroneum
|
#include <unordered_map>#include <unordered_set>#include <boost/range/adaptor/transformed.hpp>#include <boost/algorithm/string.hpp>#include <boost/archive/portable_binary_iarchive.hpp>#include <boost/archive/portable_binary_oarchive.hpp>#include "common/unordered_containers_boost_serialization.h"#include "common/command_line.h"#include "common/varint.h"#include "cryptonote_basic/cryptonote_boost_serialization.h"#include "cryptonote_core/tx_pool.h"#include "cryptonote_core/cryptonote_core.h"#include "cryptonote_core/blockchain.h"#include "blockchain_db/blockchain_db.h"#include "blockchain_db/db_types.h"#include "version.h"
Classes | |
| struct | ancestor |
| struct | std::hash< ancestor > |
| struct | tx_data_t |
| struct | ancestry_state_t |
Namespaces | |
| std | |
Macros | |
| #define | ELECTRONEUM_DEFAULT_LOG_CATEGORY "bcutil" |
Functions | |
| static void | add_ancestor (std::unordered_map< ancestor, unsigned int > &ancestry, uint64_t amount, uint64_t offset) |
| static size_t | get_full_ancestry (const std::unordered_map< ancestor, unsigned int > &ancestry) |
| static size_t | get_deduplicated_ancestry (const std::unordered_map< ancestor, unsigned int > &ancestry) |
| static void | add_ancestry (std::unordered_map< crypto::hash, std::unordered_set< ancestor >> &ancestry, const crypto::hash &txid, const std::unordered_set< ancestor > &ancestors) |
| static void | add_ancestry (std::unordered_map< crypto::hash, std::unordered_set< ancestor >> &ancestry, const crypto::hash &txid, const ancestor &new_ancestor) |
| static std::unordered_set< ancestor > | get_ancestry (const std::unordered_map< crypto::hash, std::unordered_set< ancestor >> &ancestry, const crypto::hash &txid) |
| static bool | get_block_from_height (ancestry_state_t &state, BlockchainDB *db, uint64_t height, cryptonote::block &b) |
| static bool | get_transaction (ancestry_state_t &state, BlockchainDB *db, const crypto::hash &txid, ::tx_data_t &tx_data) |
| static bool | get_output_txid (ancestry_state_t &state, BlockchainDB *db, uint64_t amount, uint64_t offset, crypto::hash &txid) |
| int | main (int argc, char *argv[]) |
Variables | |
| static bool | stop_requested = false |
| static uint64_t | cached_txes = 0 |
| static uint64_t | cached_blocks = 0 |
| static uint64_t | cached_outputs = 0 |
| static uint64_t | total_txes = 0 |
| static uint64_t | total_blocks = 0 |
| static uint64_t | total_outputs = 0 |
| static bool | opt_cache_outputs = false |
| static bool | opt_cache_txes = false |
| static bool | opt_cache_blocks = false |
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "bcutil" |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |