 |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
Go to the documentation of this file.
28 #include <boost/variant/variant.hpp>
63 boost::variant<uint8_t,h256> m_statusCodeOrStateRoot;
79 h256 const& _blockHash,
83 unsigned _transactionIndex,
89 m_blockHash(_blockHash),
90 m_blockNumber(_blockNumber),
93 m_transactionIndex(_transactionIndex),
95 m_contractAddress(_contractAddress)
98 for (
unsigned i = 0; i < entries.size(); i++)
125 unsigned m_transactionIndex = 0;
h256 const & stateRoot() const
BlockNumber blockNumber() const
u256 const & cumulativeGasUsed() const
bytes const & out() const
Read the byte stream.
void streamRLP(RLPStream &_s) const
Address const & to() const
Address const & contractAddress() const
unsigned transactionIndex() const
LocalisedLogEntries const & localisedLogs() const
h256 const & blockHash() const
std::vector< LogEntry > LogEntries
std::vector< byte > bytes
TransactionReceipt(bytesConstRef _rlp)
std::vector< TransactionReceipt > TransactionReceipts
uint8_t statusCode() const
std::vector< LocalisedLogEntry > LocalisedLogEntries
Class for writing to an RLP bytestream.
bool hasStatusCode() const
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void > > u256
Address const & from() const
std::ostream & operator<<(std::ostream &_out, BlockHeader const &_bi)
LogEntries const & log() const
LocalisedTransactionReceipt(TransactionReceipt const &_t, h256 const &_hash, h256 const &_blockHash, BlockNumber _blockNumber, Address const &_from, Address const &_to, unsigned _transactionIndex, u256 const &_gasUsed, Address const &_contractAddress=Address())
h256 const & hash() const
u256 const & gasUsed() const
LogBloom const & bloom() const