 |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
Go to the documentation of this file.
24 #include <unordered_map>
36 static const unsigned c_bloomIndexSize = 16;
37 static const unsigned c_bloomIndexLevels = 2;
39 static const unsigned c_invalidNumber = (unsigned)-1;
49 explicit operator bool()
const {
return !
isNull(); }
75 std::array<LogBloom, c_bloomIndexSize>
blooms;
97 static const unsigned size = 65;
111 static const unsigned size = 67;
TransactionAddress(RLP const &_rlp)
BlocksBlooms(RLP const &_r)
std::array< LogBloom, c_bloomIndexSize > blooms
bytes const & out() const
Read the byte stream.
std::unordered_map< uint64_t, BlockHash > BlockHashHash
bytes rlp(_T _t)
Export a single item in RLP format, returning a byte array.
BlockDetails(unsigned _n, u256 _tD, h256 _p, h256s _c)
BlockHash(h256 const &_h)
std::vector< T > toVector(int _flags=LaissezFaire) const
static const unsigned size
h2048 LogBloom
The log bloom's size (2048-bit).
std::unordered_map< h256, BlockLogBlooms > BlockLogBloomsHash
std::vector< h256 > h256s
BlockReceipts(RLP const &_r)
static const unsigned size
std::unordered_map< h256, BlocksBlooms > BlocksBloomsHash
std::vector< byte > bytes
std::vector< TransactionReceipt > TransactionReceipts
std::vector< LogBloom > LogBlooms
Many log blooms.
TransactionReceipts receipts
std::unordered_map< h256, BlockDetails > BlockDetailsHash
std::array< T, N > toArray(int _flags=LaissezFaire) const
constexpr u256 Invalid256
bytesConstRef data() const
The bare data of the RLP.
Class for writing to an RLP bytestream.
std::unordered_map< h256, BlockReceipts > BlockReceiptsHash
std::unordered_map< h256, TransactionAddress > TransactionAddressHash
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void > > u256
_T toInt(int _flags=Strict) const
Converts to int of type given; if isData(), decodes as big-endian bytestream.
_N toHash(int _flags=Strict) const
BlockLogBlooms(RLP const &_r)