Ethereum  PoC-8
The C++ Implementation of Ethereum
BlockHeader.h File Reference
#include "ChainOperationParams.h"
#include "Common.h"
#include "Exceptions.h"
#include <libdevcore/Common.h>
#include <libdevcore/Guards.h>
#include <libdevcore/Log.h>
#include <libdevcore/RLP.h>
#include <libdevcore/SHA3.h>
#include <algorithm>

Go to the source code of this file.

Classes

class  dev::eth::BlockHeader
 Encapsulation of a block header. Class to contain all of a block header's data. It is able to parse a block header and populate from some given RLP block serialisation with the static fromHeader(), through the method populate(). This will not conduct any verification above basic formating. In this case extra verification can be performed through verify(). More...
 

Namespaces

 dev
 
 dev::eth
 

Enumerations

enum  dev::eth::IncludeSeal { dev::eth::WithoutSeal = 0, dev::eth::WithSeal = 1, dev::eth::OnlySeal = 2 }
 
enum  dev::eth::Strictness { dev::eth::CheckEverything, dev::eth::QuickNonce, dev::eth::IgnoreSeal, dev::eth::CheckNothingNew }
 
enum  dev::eth::BlockDataType { dev::eth::HeaderData, dev::eth::BlockData }
 

Functions

 dev::eth::DEV_SIMPLE_EXCEPTION (NoHashRecorded)
 
 dev::eth::DEV_SIMPLE_EXCEPTION (GenesisBlockCannotBeCalculated)
 
std::ostream & dev::eth::operator<< (std::ostream &_out, BlockHeader const &_bi)
 

Detailed Description

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

Definition in file BlockHeader.h.