Changeset View
Changeset View
Standalone View
Standalone View
src/index/txindex.h
// Copyright (c) 2017-2018 The Bitcoin Core developers | // Copyright (c) 2017-2018 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_INDEX_TXINDEX_H | #ifndef BITCOIN_INDEX_TXINDEX_H | ||||
#define BITCOIN_INDEX_TXINDEX_H | #define BITCOIN_INDEX_TXINDEX_H | ||||
#include <index/base.h> | #include <index/base.h> | ||||
#include <txdb.h> | #include <txdb.h> | ||||
#include <memory> | |||||
/** | /** | ||||
* TxIndex is used to look up transactions included in the blockchain by ID. | * TxIndex is used to look up transactions included in the blockchain by ID. | ||||
* The index is written to a LevelDB database and records the filesystem | * The index is written to a LevelDB database and records the filesystem | ||||
* location of each transaction by transaction ID. | * location of each transaction by transaction ID. | ||||
*/ | */ | ||||
class TxIndex final : public BaseIndex { | class TxIndex final : public BaseIndex { | ||||
protected: | protected: | ||||
class DB; | class DB; | ||||
Show All 38 Lines |