 |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
Go to the documentation of this file.
129 h256 const& _blockHash,
130 unsigned _transactionIndex,
134 m_blockHash(_blockHash),
135 m_transactionIndex(_transactionIndex),
136 m_blockNumber(_blockNumber)
145 unsigned m_transactionIndex;
@ OutOfStack
Ran out of stack executing code of the transaction.
Encodes a transaction, ready to be exported to or freshly imported from RLP.
u256 gasForDeposit
Amount of gas remaining for the code deposit phase.
std::vector< Transaction > Transactions
Nice name for vector of Transaction.
Encodes a transaction, ready to be exported to or freshly imported from RLP.
Transaction(TransactionSkeleton const &_ts, Secret const &_s=Secret())
Constructs from a transaction skeleton & optional secret.
@ OutOfGasIntrinsic
Too little gas to pay for the base transaction cost.
BlockNumber blockNumber() const
Transaction(u256 const &_value, u256 const &_gasPrice, u256 const &_gas, Address const &_dest, bytes const &_data, u256 const &_nonce, Secret const &_secret)
Constructs a signed message-call transaction.
Base class for all exceptions.
Transaction(u256 const &_value, u256 const &_gasPrice, u256 const &_gas, bytes const &_data, u256 const &_nonce, Secret const &_secret)
Constructs a signed contract-creation transaction.
unsigned transactionIndex() const
std::vector< byte > bytes
LocalisedTransaction(Transaction const &_t, h256 const &_blockHash, unsigned _transactionIndex, BlockNumber _blockNumber=0)
Transaction()
Constructs a null transaction.
@ OutOfGasBase
Too little gas to pay for the base transaction cost.
constexpr u256 Invalid256
Transaction(u256 const &_value, u256 const &_gasPrice, u256 const &_gas, bytes const &_data, u256 const &_nonce=Invalid256)
Constructs an unsigned contract-creation transaction.
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void > > u256
std::ostream & operator<<(std::ostream &_out, BlockHeader const &_bi)
unsigned depositSize
Amount of code of the creation's attempted deposit.
TransactionException toTransactionException(Exception const &_e)
Description of the result of executing a transaction.
SecureFixedHash< 32 > Secret
@ OutOfGas
Ran out of gas executing code of the transaction.
TransactionException excepted
CodeDeposit codeDeposit
Failed if an attempted deposit failed due to lack of gas.
Transaction(u256 const &_value, u256 const &_gasPrice, u256 const &_gas, Address const &_dest, bytes const &_data, u256 const &_nonce=Invalid256)
Constructs an unsigned message-call transaction.
Transaction(bytes const &_rlp, CheckTransaction _checkSig)
Constructs a transaction from the given RLP.
@ InvalidZeroSignatureFormat
h256 const & blockHash() const