openethereum/ethcore/snapshot/snapshot-tests/src
David 0d3423cbe0
Use a lock instead of atomics for snapshot Progress (#11197)
* WIP. Typos and logging.

* Format todos

* Pause pruning while a snapshot is under way
Logs, docs and todos

* Allocate memory for the full chunk

* Name snapshotting threads

* Ensure `taking_snapshot` is set to false whenever and however `take_snapshot`returns
Rename `take_at` to `request_snapshot_at`
Cleanup

* Let "in_progress" deletion fail
Fix tests

* Just use an atomic

* Review grumbles

* Finish the sentence

* Resolve a few todos and clarify comments.

* Calculate progress rate since last update

* Lockfile

* Fix tests

* typo

* Reinstate default snapshotting frequency
Cut down on the logging noise

* Use a lock instead of atomics for snapshot Progress

* Update ethcore/types/src/snapshot.rs

Co-Authored-By: Andronik Ordian <write@reusable.software>

* Avoid truncating cast
Cleanup
2019-10-28 18:24:45 +01:00
..
abridged_block.rs Move snapshot related traits to their proper place (#11012) 2019-09-10 22:44:33 +02:00
account.rs Use a lock instead of atomics for snapshot Progress (#11197) 2019-10-28 18:24:45 +01:00
helpers.rs Use a lock instead of atomics for snapshot Progress (#11197) 2019-10-28 18:24:45 +01:00
io.rs Move snapshot related traits to their proper place (#11012) 2019-09-10 22:44:33 +02:00
lib.rs Move snapshot related traits to their proper place (#11012) 2019-09-10 22:44:33 +02:00
proof_of_authority.rs Crypto primitives removed from ethkey (#11174) 2019-10-23 13:03:46 +02:00
proof_of_work.rs Use a lock instead of atomics for snapshot Progress (#11197) 2019-10-28 18:24:45 +01:00
service.rs Use a lock instead of atomics for snapshot Progress (#11197) 2019-10-28 18:24:45 +01:00
state.rs Use a lock instead of atomics for snapshot Progress (#11197) 2019-10-28 18:24:45 +01:00
test_validator_contract.json Move snapshot related traits to their proper place (#11012) 2019-09-10 22:44:33 +02:00
watcher.rs Pause pruning while snapshotting (#11178) 2019-10-24 16:46:32 +02:00