openethereum/ethcore/sync/src
David 44cc442d12
Move more code into state-account (#10840)
* WIP move errors, pod_account and state account to own crates

* Sort out dependencies, fix broken code and tests
Remove botched ethcore-error crate

* remove template line

* fix review feedback

* Remove test-only AccountDBMut::new

* Extract AccountDB to account-db

* Move Substate to state-account – wip

* Add lib.rs

* cleanup

* test failure

* test failure 2

* third time's the charm

* Add factories crate

* Use new factories crate

* Use factories crate

* Extract trace

* Fix tests

* Sort out parity-util-mem and parking_lot

* cleanup

* WIP port over the rest of state from ethcore

* Collect all impls for Machine

* some notes

* Rename pod-account to pod

* Move PodState to pod crate

* Use PodState from pod crate

* Fix use clause for json tests

* Sort out evmbin

* Add missing code and use PodState

* Move code that depends on Machine and Executive to own module

* Sort out cloning errors, fix ethcore to use new state crate

* Do without funky From impls

* Fix ethcore tests

* Fixes around the project to use new state crate

* Add back the more specific impls of StateOrBlock From conversions

* Move execute to freestanding function and remove it from trait
Sort out the error handling in executive_state by moving the result types from state to ethcore
Undo the verbose code added to work around the StateOrBlock From conversions

* cleanup

* Fix "error: enum variants on type aliases are experimental"

* Bring back the state tests
Fix whitespace

* remove ethcore/state/mod.rs

* cleanup

* cleanup

* Cleanup state-account errors

* Fix more todos
Add module docs

* Add error.rs

* Fixup Cargo.lock

* Smaller ethcore API is fine

* Add `to-pod-full` feature to state-account
Fix evmbin

* Fix a few more test failures

* Fix RPC test build

* Baptize the new trait

* Remove resolved TODOs

* Rename state-account to account-state

* Do not re-export the trace crate

* Don't export state_db from ethcore

* Let private-tx use StateDB. :(

* Remove ethcore/src/pod_state.rs

* Inner type does not need to be pub/pub(crate)

* optimise imports

* Revert "Inner type does not need to be pub/pub(crate)"

This reverts commit 2f839f8a0f72f71334da64620f57e6dd6039f06b.

* Move DatabaseExtras to ethcore-blockchain

* Add database_extra module to ethcore-blockchain

* Remove to-pod-full feature

* Sort out the merge

* sort imports

* address grumbles

* rename crate

* address more grumbles
2019-07-08 18:17:48 +02:00
..
chain Move more code into state-account (#10840) 2019-07-08 18:17:48 +02:00
light_sync Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
res Support millisecond timestamp for instant seal engine (#9469) 2018-09-06 11:38:00 +02:00
tests Move more code into state-account (#10840) 2019-07-08 18:17:48 +02:00
api.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
block_sync.rs removed QueueError type (#10852) 2019-07-06 20:40:56 +02:00
blocks.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
lib.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
private_tx.rs Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
snapshot.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
sync_io.rs Bundle protocol and packet_id together in chain sync (#10315) 2019-02-13 09:20:33 +01:00
transactions_stats.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00