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 "config.h" | #include "config.h" | ||||
#include "hash.h" | #include "hash.h" | ||||
#include "pow.h" | #include "pow.h" | ||||
#include "uint256.h" | #include "uint256.h" | ||||
#include <cstdint> | |||||
#include <boost/thread.hpp> | #include <boost/thread.hpp> | ||||
#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_BLOCK_INDEX = 'b'; | static const char DB_BLOCK_INDEX = 'b'; | ||||
static const char DB_BEST_BLOCK = 'B'; | static const char DB_BEST_BLOCK = 'B'; | ||||
static const char DB_FLAG = 'F'; | static const char DB_FLAG = 'F'; | ||||
▲ Show 20 Lines • Show All 350 Lines • Show Last 20 Lines |