openethereum/parity
Jef 5c08698fa0 Use memmap for dag cache (#6193)
* Rebase and fix compilation errors (tests not yet fixed)

* Use `debug_assert` over `assert`

* Fix tests

* Assert safety, clean up

* Fix up stale cache removal, move one assert to debug_assert

* Remove printlns

* Add licenses

* Fix benches

* Inline some no-ops in a hot loop that weren't being inlined

* Add spooky comment to make sure no-one removes the inlining annotations

* Minor cleanup

* Add option to switch between mmap and ram

* Flag ethash to use less memory when running light client

* Fix tests

* Remove todo comment (it's done)

* Replace assertion with error return

* Fix indentation

* Use union instead of `transmute`

* Fix benches

* Extract to constants

* Clean up and fix soundness holes

* Fix formatting

* Ignore missing-file errors

* Make incorrect cache size an error condition instead of a panic, remove dead code

* Fix compilation errors from rebase

* Fix compilation errors in tests

* Fix compilation errors in tests
2017-09-25 19:45:33 +02:00
..
cli Refactor and port CLI from Docopt to Clap (#2066) (#6356) 2017-09-05 12:30:22 +01:00
light_helpers Revert "fixed master (#6465)" 2017-09-05 17:54:05 +02:00
account.rs
blockchain.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
boot.rs
cache.rs
configuration.rs Use host as ws/dapps url if present. 2017-09-21 15:11:15 +02:00
dapps.rs Use host as ws/dapps url if present. 2017-09-21 15:11:15 +02:00
deprecated.rs Refactor and port CLI from Docopt to Clap (#2066) (#6356) 2017-09-05 12:30:22 +01:00
dir.rs Don't reexport bigint from util 2017-09-04 16:36:49 +02:00
helpers.rs Don't reexport bigint from util 2017-09-04 16:36:49 +02:00
informant.rs Sync progress and error handling fixes (#6560) 2017-09-21 10:12:27 +02:00
ipfs.rs
main.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
migration.rs
modules.rs Connection filter (#6359) 2017-08-29 14:38:01 +02:00
params.rs Use memmap for dag cache (#6193) 2017-09-25 19:45:33 +02:00
presale.rs
rpc_apis.rs Use host as ws/dapps url if present. 2017-09-21 15:11:15 +02:00
rpc.rs Use host as ws/dapps url if present. 2017-09-21 15:11:15 +02:00
run.rs Use memmap for dag cache (#6193) 2017-09-25 19:45:33 +02:00
secretstore.rs fixed grumbles 2017-08-09 18:17:28 +03:00
signer.rs
snapshot.rs finished 2017-08-31 11:35:41 +02:00
stratum.rs
sync.rs
upgrade.rs
url.rs
user_defaults.rs
whisper.rs Compatibility with whisper v6 (#6179) 2017-09-10 18:02:14 +02:00