Changeset View
Changeset View
Standalone View
Standalone View
src/txdb.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 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. | ||||
#include <txdb.h> | #include <txdb.h> | ||||
#include <chainparams.h> | #include <chainparams.h> | ||||
#include <hash.h> | #include <hash.h> | ||||
#include <init.h> | #include <init.h> | ||||
#include <pow.h> | #include <pow.h> | ||||
#include <random.h> | #include <random.h> | ||||
#include <ui_interface.h> | #include <ui_interface.h> | ||||
#include <uint256.h> | #include <uint256.h> | ||||
#include <util.h> | #include <util.h> | ||||
#include <boost/thread.hpp> // boost::this_thread::interruption_point() (mingw) | |||||
#include <cstdint> | #include <cstdint> | ||||
static const char DB_COIN = 'C'; | static const char DB_COIN = 'C'; | ||||
static const char DB_COINS = 'c'; | static const char DB_COINS = 'c'; | ||||
static const char DB_BLOCK_FILES = 'f'; | static const char DB_BLOCK_FILES = 'f'; | ||||
static const char DB_TXINDEX = 't'; | static const char DB_TXINDEX = 't'; | ||||
static const char DB_TXINDEX_BLOCK = 'T'; | static const char DB_TXINDEX_BLOCK = 'T'; | ||||
static const char DB_BLOCK_INDEX = 'b'; | static const char DB_BLOCK_INDEX = 'b'; | ||||
▲ Show 20 Lines • Show All 604 Lines • Show Last 20 Lines |