refactor: introduce BasicPayloadServiceBuilder (#14700)

This commit is contained in:
Arsenii Kulikov
2025-02-26 03:45:07 +04:00
committed by GitHub
parent 75ca54b790
commit 77aa17fb57
22 changed files with 142 additions and 162 deletions

View File

@@ -82,9 +82,6 @@ pub trait FullNodeComponents: FullNodeTypes + Clone + 'static {
/// Network API.
type Network: FullNetwork;
/// Builds new blocks.
type PayloadBuilder: PayloadBuilderFor<Self::Types>;
/// Returns the transaction pool of the node.
fn pool(&self) -> &Self::Pool;
@@ -100,9 +97,6 @@ pub trait FullNodeComponents: FullNodeTypes + Clone + 'static {
/// Returns the handle to the network
fn network(&self) -> &Self::Network;
/// Returns the configured payload builder.
fn payload_builder(&self) -> &Self::PayloadBuilder;
/// Returns the handle to the payload builder service handling payload building requests from
/// the engine.
fn payload_builder_handle(