openethereum/ethcore
André Silva e7f1204fa4 aura: finalize blocks (#9692)
* aura: emit ancestry actions for finalizing blocks

* aura: refactor is_epoch_end to get finalized blocks as argument

* ethcore: add is_epoch_end_light method to Engine

The full client now tracks finality by querying the engine on each block import,
and it also persists the finalization state to the DB. For the light client
current it doesn't persist finality information and only keeps track of finality
for epoch signals, by calling `is_epoch_end_light`. This method implements the
previously existing logic of building finality for all the blocks in the current
epoch and then checking the finalized blocks against the transition store.

* ethcore: allow finalizing current block

* aura: fix construction of finality proof

* aura: fix warnings

- missing docs for is_epoch_end_light
- unused method unfinalized_hashes in RollingFinality

* aura: fix clone on copy types
2018-10-25 17:33:41 +02:00
..
benches ethcore: minor optimization of modexp by using LR exponentiation (#9697) 2018-10-04 12:29:53 +01:00
evm Use signed 256-bit integer for sstore gas refund substate (#9746) 2018-10-15 17:09:55 +08:00
light aura: finalize blocks (#9692) 2018-10-25 17:33:41 +02:00
node_filter new ethabi (#9511) 2018-09-13 11:04:39 +02:00
private-tx Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00
res drops support for olympic testnet, closes #9800 (#9801) 2018-10-23 23:54:44 +08:00
service Fetch parity-common crates from crates.io (#9410) 2018-09-04 20:13:51 +02:00
src aura: finalize blocks (#9692) 2018-10-25 17:33:41 +02:00
stratum Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00
sync sync: retry different peer after empty subchain heads response (#9753) 2018-10-25 16:56:59 +02:00
transaction Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
types Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
vm Use signed 256-bit integer for sstore gas refund substate (#9746) 2018-10-15 17:09:55 +08:00
wasm Use signed 256-bit integer for sstore gas refund substate (#9746) 2018-10-15 17:09:55 +08:00
Cargo.toml Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00