erigon-pulse/cmd
ledgerwatch 5ea590c18e
State cache switching writes to reads during commit (#1368)
* State cache init

* More code

* Fix lint

* More tests

* More tests

* More tests

* Fix test

* Transformations

* remove writeQueue, before fixing the tests

* Fix tests

* Add more tests, incarnation to the code items

* Fix lint

* Fix lint

* Remove shards prototype, add incarnation to the state reader code

* Clean up and replace cache in call_traces stage

* fix flaky test

* Save changes

* Readers to use addrHash, writes - addresses

* Fix lint

* Fix lint

* More accurate tracking of size

* Optimise for smaller write batches

* Attempt to integrate state cache into Execution stage

* cacheSize to default flags

* Print correct cache sizes and batch sizes

* cacheSize in the integration

* Fix tests

* Fix lint

* Remove print

* Fix exec stage

* Fix test

* Refresh sequence on write

* No double increment

* heap.Remove

* Try to fix alignment

* Refactoring, adding hashItems

* More changes

* Fix compile errors

* Fix lint

* Wrapping cached reader

* Wrap writer into cached writer

* Turn state cache off by default

* Fix plain state writer

* Fix for code/storage mixup

* Fix tests

* Fix clique test

* Better fix for the tests

* Add test and fix some more

* Fix compile error|

* More functions

* Fixes

* Fix for the tests

* sepatate DeletedFlag and AbsentFlag

* Minor fixes

* Test refactoring

* More changes

* Fix some tests

* More test fixes

* More test fixes

* Fix lint

* Move blockchain_test to be able to use stagedsync

* More fixes

* Fixes and cleanup

* Fix tests in turbo/stages

* Fix lint

* Fix lint

* Intemediate

* Fix tests

* Intemediate

* More fixes

* Compilation fixes

* More fixes

* Fix compile errors

* More test fixes

* More fixes

* More test fixes

* Fix compile error

* Fixes

* Fix

* Fix

* More fixes

* Fixes

* More fixes and cleanup

* Further fix

* Check gas used and bloom with header

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2020-12-08 09:44:29 +00:00
..
abidump post-merge fixups 2020-02-27 17:22:25 +03:00
abigen Rpcdaemon as lib (#940) 2020-08-19 12:46:20 +01:00
bootnode cmd/bootnode,internal/debug: fix some comments (#21623) 2020-10-26 17:16:00 +01:00
checkpoint-admin Fixes 'too many other files opened' problem with Generate Storage History stage on Mac (#1217) 2020-10-10 22:15:07 +01:00
clef accounts, signer: implement gnosis safe support (#21593) 2020-10-26 17:16:00 +01:00
devp2p post-rebase fixes 2020-12-03 18:59:17 +01:00
ethkey geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
evm post-rebase. fix imports 2020-12-03 17:37:38 +01:00
hack History bitmap 64 (#1374) 2020-12-04 21:16:51 +00:00
headers Accept discover,netrestrict,staticpeer arguments for sentry (#1364) 2020-11-19 08:14:41 +00:00
integration State cache switching writes to reads during commit (#1368) 2020-12-08 09:44:29 +00:00
p2psim node: refactor package node (#21105) 2020-08-14 16:33:59 +02:00
pics State cache switching writes to reads during commit (#1368) 2020-12-08 09:44:29 +00:00
prometheus Mdbx v0.9.2 (#1373) 2020-11-28 14:26:28 +00:00
puppeth all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) 2020-12-03 17:37:38 +01:00
restapi State cache switching writes to reads during commit (#1368) 2020-12-08 09:44:29 +00:00
rlpdump Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
rpcdaemon State cache switching writes to reads during commit (#1368) 2020-12-08 09:44:29 +00:00
rpctest Method delete to accept second param: allow delete dupsort values (#1297) 2020-10-29 13:19:31 +00:00
snapshots Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
state State cache switching writes to reads during commit (#1368) 2020-12-08 09:44:29 +00:00
tester geth-1.9.23: post-rebase fixups 2020-10-26 17:16:00 +01:00
tg Integrate Silkworm execution (#1344) 2020-11-28 15:08:02 +00:00
tgcustom Method delete to accept second param: allow delete dupsort values (#1297) 2020-10-29 13:19:31 +00:00
utils State cache switching writes to reads during commit (#1368) 2020-12-08 09:44:29 +00:00