Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
db_key.h File Reference
#include <dbwrapper.h>
#include <interfaces/types.h>
#include <logging.h>
#include <serialize.h>
#include <uint256.h>
#include <cstdint>
#include <ios>
#include <string>
#include <utility>
Include dependency graph for db_key.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  index_util::DBHeightKey
struct  index_util::DBHashKey

Namespaces

namespace  index_util

Functions

template<typename DBVal>
static bool index_util::CopyHeightIndexToHashIndex (CDBIterator &db_it, CDBBatch &batch, const std::string &index_name, int height)
template<typename DBVal>
static bool index_util::LookUpOne (const CDBWrapper &db, const interfaces::BlockRef &block, DBVal &result)

Variables

static constexpr uint8_t index_util::DB_BLOCK_HASH {'s'}
static constexpr uint8_t index_util::DB_BLOCK_HEIGHT {'t'}