erigon-pulse/eth
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
..
downloader Store transactions individually (#1358) 2020-11-22 21:25:26 +00:00
fetcher Jump tables data race (#1245) 2020-10-20 22:23:56 +01:00
filters Store receipts separately - one record per tx (#1271) 2020-10-25 08:38:55 +00:00
gasprice post-rebase fixes 2020-10-06 14:12:09 +02:00
stagedsync Integrate Silkworm execution (#1344) 2020-11-28 15:08:02 +00:00
tracers Replacing auto generated assets.go (#1197) 2020-10-07 08:48:21 +01:00
api_backend.go Store receipts separately - one record per tx (#1271) 2020-10-25 08:38:55 +00:00
api_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
api_tracer.go eth: added trace_call to trace on top of arbitrary blocks (#21338) 2020-09-11 16:25:13 +02:00
api.go eth: added trace_call to trace on top of arbitrary blocks (#21338) 2020-09-11 16:25:13 +02:00
backend.go Mdbx v0.9.2 (#1373) 2020-11-28 14:26:28 +00:00
bloombits.go [WIP] CallTraces index (#1157) 2020-10-12 09:39:04 +01:00
config.go Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
debug.go Call bufio.Flash() in tester (#407) 2020-03-26 21:52:05 +00:00
discovery.go cmd/devp2p: add eth protocol test suite (#21598) 2020-10-06 14:12:09 +02:00
firehose.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
gen_config.go cmd, core, eth, light, trie: dump clean cache periodically (#20391) 2020-08-12 12:01:13 +02:00
handler_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
handler.go Possible fix for tx pool hanging (#1352) 2020-11-16 12:05:53 +00:00
helper_test.go post-rebase fixes 2020-10-06 14:12:09 +02:00
peer.go Headers poc 3 - intermediate changes (#1093) 2020-09-11 07:35:51 +01:00
protocol_test.go Jump tables data race (#1245) 2020-10-20 22:23:56 +01:00
protocol.go Headers poc 3 - intermediate changes (#1093) 2020-09-11 07:35:51 +01:00
sync_test.go remove eth/63, add tests for eth/65 (#823) 2020-07-30 11:16:55 +01:00
sync.go Prevent block_fetcher from accessing the database (#1200) 2020-10-07 18:58:09 +01:00