erigon-pulse/cmd
Andrew Ashikhmin 8a877c227a
Integrate Silkworm execution (#1344)
* Expose C Handle of lmdbTx

* LoadExecutionFunctionPointer

* silkworm ExecuteBlocks

* linter

* CLI flag for SilkwormExecutionFunc

* linter

* Call SilkwormExecutionFunc in SpawnExecuteBlocksStage

* Commit transaction after Silkworm execution

* Fix batch initialization

* Make batch_size uint64_t instead of size_t

* max_block in silkworm_execute_blocks

* More accurate logProgress

* Use CHandle exposed by lmdb-go

* Enable Silkworm on Linux only

* Update lmdb-go

* Error when attempting to use Silkworm not on Linux

* Move SilkwormFlag from cmd/utils/flags.go to turbo/cli/flags.go

* Integrate Silkworm into cmd/integration

* Check against ReaderBuilder/WriterBuilder/ChangeSetHook in Silkworm execution

* Refactor SpawnExecuteBlocksStage

* linters

* Small clean-ups

* Move ChangeSetHook inside executeBlockWithGo

* No need to tamper with batch size in executeBlocksWithSilkworm

* fix

* Fix

* Fixup

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2020-11-28 15:08:02 +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 geth-1.9.23: post-rebase fixups 2020-10-26 17:16:00 +01:00
ethkey geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
evm Remove changeset-based decorators from WalkAsOf (#1356) 2020-11-18 14:58:52 +00:00
hack Store transactions individually (#1358) 2020-11-22 21:25:26 +00:00
headers Accept discover,netrestrict,staticpeer arguments for sentry (#1364) 2020-11-19 08:14:41 +00:00
integration Integrate Silkworm execution (#1344) 2020-11-28 15:08:02 +00:00
p2psim node: refactor package node (#21105) 2020-08-14 16:33:59 +02:00
pics Some additions to the DB walkthrough (#1309) 2020-10-28 07:18:48 +00:00
prometheus Mdbx v0.9.2 (#1373) 2020-11-28 14:26:28 +00:00
puppeth cmd/geth, cmd/puppeth: replace deprecated rpc and ws flags in tests and docs (#21317) 2020-08-07 12:54:50 +02:00
restapi Store transactions individually (#1358) 2020-11-22 21:25:26 +00:00
rlpdump Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
rpcdaemon Store transactions individually (#1358) 2020-11-22 21:25:26 +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 Mdbx v0.9.2 (#1373) 2020-11-28 14:26:28 +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 Exclusive lock manual (#1302) 2020-10-28 09:52:15 +00:00