openethereum/parity
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
..
cli Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
db Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
light_helpers Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
logger update parking-lot to 0.8 (#10845) 2019-07-05 15:19:38 +02:00
account_utils.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
account.rs Upgrade to parity-crypto 0.4 (#10650) 2019-05-28 07:50:10 +02:00
blockchain.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
cache.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
configuration.rs Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
deprecated.rs whisper is no longer a part of parity-ethereum repo (#10855) 2019-07-12 14:15:30 +02:00
export_hardcoded_sync.rs get rid of hidden mutability of Spec (#10904) 2019-07-30 12:48:54 +02:00
helpers.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
informant.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
ipfs.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
lib.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
main.rs parity/main.rs uses eprintln instead of raw stderr interface (#10427) 2019-02-27 11:41:03 +03:00
modules.rs Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
params.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
presale.rs Upgrade to parity-crypto 0.4 (#10650) 2019-05-28 07:50:10 +02:00
rpc_apis.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
rpc.rs update jsonrpc to 12.0 (#10841) 2019-07-05 16:24:23 +08:00
run.rs Private contract migration and offchain state sync (#10748) 2019-08-16 14:45:52 +02:00
secretstore.rs Allow CORS requests in Secret Store API (#10584) 2019-04-20 07:31:37 +02:00
signer.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
snapshot.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00
stratum.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
upgrade.rs Add message to IO errors (#10324) 2019-02-18 20:39:38 +03:00
user_defaults.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00