openethereum/rpc/src/v1
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
..
helpers Use host as ws/dapps url if present. 2017-09-21 15:11:15 +02:00
impls Use memmap for dag cache (#6193) 2017-09-25 19:45:33 +02:00
tests Use host as ws/dapps url if present. 2017-09-21 15:11:15 +02:00
traits Trezor Support (#6403) 2017-09-14 19:28:43 +02:00
types Fixed receipt serialization and RPC (#6555) 2017-09-21 10:11:53 +02:00
extractors.rs Don't reexport bigint from util 2017-09-04 16:36:49 +02:00
informant.rs remove re-export of parking_lot in util (#6435) 2017-09-02 20:09:13 +02:00
metadata.rs Cap gas limit for dapp-originating requests. 2017-08-15 10:38:49 +02:00
mod.rs rpc -> weak to arc (#5688) 2017-05-28 08:40:36 -04:00