openethereum/ethcore/private-tx/src
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
..
encryptor.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
error.rs Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
key_server_keys.rs Extract Machine from ethcore (#10949) 2019-08-13 12:33:34 +02:00
lib.rs Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
log.rs Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
messages.rs Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
private_state_db.rs Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
private_transactions.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
state_store.rs Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00