erigon-pulse/cmd/integration/commands
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
..
flags.go Integrate Silkworm execution (#1344) 2020-11-28 15:08:02 +00:00
refetence_db.go Mdbx v0.9.2 (#1373) 2020-11-28 14:26:28 +00:00
reset_state.go Store transactions individually (#1358) 2020-11-22 21:25:26 +00:00
root.go Exclusive lock manual (#1302) 2020-10-28 09:52:15 +00:00
stages.go Integrate Silkworm execution (#1344) 2020-11-28 15:08:02 +00:00
state_stages.go Mdbx v0.9.2 (#1373) 2020-11-28 14:26:28 +00:00