openethereum/ethcore
Anton Gavrilov 66e4410be7
Private contract migration and offchain state sync (#10748)
* Temp storage for the private state added

* Temp storage for the private state added

* Request message added

* Store and retrieve offchain state logic

* State sync cache

* Private state column added to key value db

* Private state column added to key value db

* Indexing stored states via its hash

* Works with errors changed

* Private state stored into the local db

* Access to private state db added to sync io

* Private state db file added

* Rlp packets for retrieiving private state data added

* Handling of private sync completed message

* Test code fixed

* External flag for offchain storing added

* Test for private state sync added

* Saving private state logic corrected

* Migration code corrected

* Fixes after merge with master

* Merge with head

* Additional checks for slices

* Log for private state retrieval added

* Limit time of retrieving private states

* Store required hashes for every request, mark them stale if needed

* Store requested private state hashes and check received data

* Log stale requests

* State insertion fix

* Refactoring of how logging passed to state store

* Heapsize removed, syncing hashes structure reworked

* Check state length returned by contract

* Get rid of OverlayDB

* hash-db version updated

* Test fixed

* One more test fixed
2019-08-16 14:45:52 +02:00
..
account-db Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
account-state Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
benches Fix ethcore/benches build. (#10964) 2019-08-13 15:27:28 +02:00
blockchain Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
builtin ethcore-builtin (#10850) 2019-07-07 16:59:30 +02:00
call-contract docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652) 2019-06-25 08:15:13 +02:00
client-traits Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
db Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
engine Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
evm Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
light Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
machine Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
node-filter Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
pod Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
private-tx Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
res Extract Machine from ethcore (#10949) 2019-08-13 12:33:34 +02:00
service Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
src Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
state-db Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
sync Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
trace Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
trie-vm-factories Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
types Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
vm Run cargo fix on a few of the worst offenders (#10854) 2019-07-09 09:04:20 +01:00
wasm Fix some warnings and typos. (#10941) 2019-08-06 11:07:07 +02:00
Cargo.toml Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00