openethereum/ethcore/types/src
David 5dc5be1e58
Better logging when backfilling ancient blocks fail (#10796)
* Better logging when backfilling ancient blocks fail
Print total blocks imported, closes #10792

* `finalize()` doesn't need Engine
Pull out call to migrated_blocks() from replace_client_db()

* More logs

* Clarify that the percentage may be misleading

* Remove replace_client_db() and replace with a straight call to restore_db()

* Include the parent_hash in UnlinkedAncientBlockChain errors

* Add a new RestorationStatus varian: Finalizing (as it can take a loooong while)
Call abort_restore() when restoration fails

* Add missing cases for new variant

* typos

* Typo and derive Debug

* Do not attempt to salvage existing blocks unless they form a complete chain back to genesis

* Fix test

* Revert "Fix test"

This reverts commit f027d4b4cb7b6c23fceec528c1711886ba9cfe4e.

* Fix test again

* Update comment

* Be careful about locks

* fix test failure

* Do not defer returning an error when the chain is broken

* Review feedback

* no hex formatting for Option
2019-07-01 14:41:45 +02:00
..
engines simplify parity machine (#10469) 2019-03-13 11:36:13 +01:00
transaction Add filtering capability to `parity_pendingTransactions` (issue 8269) (#10506) 2019-06-28 09:27:59 +01:00
views Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
account_diff.rs removed redundant fmt::Display implementations (#10806) 2019-06-28 14:58:27 +02:00
ancestry_action.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
basic_account.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
block.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
block_status.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
blockchain_info.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
call_analytics.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
encoded.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
filter.rs Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
header.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
ids.rs perf(ethcore): `micro-opt` (#10405) 2019-03-06 15:30:35 +01:00
lib.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
log_entry.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
pruning_info.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
receipt.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
restoration_status.rs Better logging when backfilling ancient blocks fail (#10796) 2019-07-01 14:41:45 +02:00
security_level.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
snapshot_manifest.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
state_diff.rs removed redundant fmt::Display implementations (#10806) 2019-06-28 14:58:27 +02:00
trace_filter.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
tree_route.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
verification_queue_info.rs removed redundant fmt::Display implementations (#10806) 2019-06-28 14:58:27 +02:00