|
|
@ -147,12 +147,12 @@ public: |
|
|
|
/// Like sync but only operate on _tq, killing the invalid/old ones.
|
|
|
|
bool cull(TransactionQueue& _tq) const; |
|
|
|
|
|
|
|
LastHashes getLastHashes(BlockChain const& _bc, unsigned _n) const; |
|
|
|
LastHashes getLastHashes(BlockChain const& _bc, unsigned _n) const; |
|
|
|
|
|
|
|
/// Execute a given transaction.
|
|
|
|
/// This will append @a _t to the transaction list and change the state accordingly.
|
|
|
|
u256 execute(BlockChain const& _bc, bytes const& _rlp, bytes* o_output = nullptr, bool _commit = true); |
|
|
|
u256 execute(BlockChain const& _bc, bytesConstRef _rlp, bytes* o_output = nullptr, bool _commit = true); |
|
|
|
u256 execute(BlockChain const& _bc, bytes const& _rlp, bytes* o_output = nullptr, bool _commit = true); |
|
|
|
u256 execute(BlockChain const& _bc, bytesConstRef _rlp, bytes* o_output = nullptr, bool _commit = true); |
|
|
|
u256 execute(LastHashes const& _lh, bytes const& _rlp, bytes* o_output = nullptr, bool _commit = true) { return execute(_lh, &_rlp, o_output, _commit); } |
|
|
|
u256 execute(LastHashes const& _lh, bytesConstRef _rlp, bytes* o_output = nullptr, bool _commit = true); |
|
|
|
|
|
|
|