openethereum/ethcore/light/src/client
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
..
fetch.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
header_chain.rs Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
mod.rs aura: finalize blocks (#9692) 2018-10-25 17:33:41 +02:00
service.rs Light clippy(fy) (#9473) 2018-09-06 15:44:40 +02:00