Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Namespaces | Typedefs | Enumerations | Functions
BlockChain.h File Reference
#include <deque>
#include <chrono>
#include <unordered_map>
#include <unordered_set>
#include <libdevcore/db.h>
#include <libdevcore/Log.h>
#include <libdevcore/Exceptions.h>
#include <libdevcore/Guards.h>
#include <libethcore/Common.h>
#include <libethcore/BlockHeader.h>
#include <libethcore/SealEngine.h>
#include <libevm/ExtVMFace.h>
#include "BlockDetails.h"
#include "Account.h"
#include "Transaction.h"
#include "BlockQueue.h"
#include "VerifiedBlock.h"
#include "ChainParams.h"
#include "State.h"
Include dependency graph for BlockChain.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::hash< pair< dev::h256, unsigned > >
 
struct  dev::eth::BlockChainChat
 
struct  dev::eth::BlockChainNote
 
struct  dev::eth::BlockChainWarn
 
struct  dev::eth::BlockChainDebug
 
class  dev::eth::VersionChecker
 
class  dev::eth::BlockChain
 Implements the blockchain database. More...
 
struct  dev::eth::BlockChain::Statistics
 

Namespaces

 std
 std::hash for asio::adress
 
 dev
 Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Originally by RenĂ© Nyffenegger.
 
 dev::eth
 

Typedefs

using dev::eth::BlocksHash = std::unordered_map< h256, bytes >
 
using dev::eth::TransactionHashes = h256s
 
using dev::eth::UncleHashes = h256s
 
using dev::eth::ProgressCallback = std::function< void(unsigned, unsigned)>
 

Enumerations

enum  {
  dev::eth::ExtraDetails = 0, dev::eth::ExtraBlockHash, dev::eth::ExtraTransactionAddress, dev::eth::ExtraLogBlooms,
  dev::eth::ExtraReceipts, dev::eth::ExtraBlocksBlooms
}
 

Functions

 dev::eth::DEV_SIMPLE_EXCEPTION (AlreadyHaveBlock)
 
 dev::eth::DEV_SIMPLE_EXCEPTION (FutureTime)
 
 dev::eth::DEV_SIMPLE_EXCEPTION (TransientError)
 
std::unordered_map< Address, Account > const & dev::eth::genesisState ()
 
ldb::Slice dev::eth::toSlice (h256 const &_h, unsigned _sub=0)
 
ldb::Slice dev::eth::toSlice (uint64_t _n, unsigned _sub=0)
 
std::ostream & dev::eth::operator<< (std::ostream &_out, BlockChain const &_bc)
 

Detailed Description

Author
Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014

Definition in file BlockChain.h.