mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf: warm transactions in parallel (#13759)
This commit is contained in:
@ -565,6 +565,7 @@ where
|
||||
.with_persistence_threshold(builder.config.engine.persistence_threshold)
|
||||
.with_memory_block_buffer_target(builder.config.engine.memory_block_buffer_target)
|
||||
.with_state_root_task(builder.config.engine.state_root_task_enabled)
|
||||
.with_caching_and_prewarming(builder.config.engine.caching_and_prewarming_enabled)
|
||||
.with_always_compare_trie_updates(
|
||||
builder.config.engine.state_root_task_compare_updates,
|
||||
);
|
||||
|
||||
@ -227,6 +227,7 @@ where
|
||||
Box::pin(consensus_engine_stream),
|
||||
ctx.dev_mining_mode(ctx.components().pool()),
|
||||
LocalPayloadAttributesBuilder::new(ctx.chain_spec()),
|
||||
ctx.components().evm_config().clone(),
|
||||
);
|
||||
|
||||
Either::Left(eth_service)
|
||||
@ -247,6 +248,7 @@ where
|
||||
engine_tree_config,
|
||||
ctx.invalid_block_hook()?,
|
||||
ctx.sync_metrics_tx(),
|
||||
ctx.components().evm_config().clone(),
|
||||
);
|
||||
|
||||
Either::Right(eth_service)
|
||||
|
||||
Reference in New Issue
Block a user