pub struct EngineInboundData {
pub build_request_tx: Option<Sender<(OpAttributesWithParent, Sender<OpExecutionPayloadEnvelope>)>>,
pub attributes_tx: Sender<OpAttributesWithParent>,
pub unsafe_block_tx: Sender<OpExecutionPayloadEnvelope>,
pub reset_request_tx: Sender<()>,
pub inbound_queries_tx: Sender<EngineQueries>,
pub finalized_l1_block_tx: Sender<Option<BlockInfo>>,
}Expand description
The outbound data for the EngineActor.
Fields§
§build_request_tx: Option<Sender<(OpAttributesWithParent, Sender<OpExecutionPayloadEnvelope>)>>The channel used by the sequencer actor to send build requests to the engine actor.
§Note
This is Some when the node is in sequencer mode, and None when the node is in validator
mode.
attributes_tx: Sender<OpAttributesWithParent>A channel to send OpAttributesWithParent to the engine actor.
unsafe_block_tx: Sender<OpExecutionPayloadEnvelope>A channel to send OpExecutionPayloadEnvelope to the engine actor.
§Note
The sequencer actor should not need to send OpExecutionPayloadEnvelopes to the engine
actor through that channel. Instead, it should use the build_request_tx channel to
trigger BuildTask tasks which should insert the block newly built to the engine
state upon completion.
reset_request_tx: Sender<()>A channel to send reset requests.
inbound_queries_tx: Sender<EngineQueries>Handler to send inbound queries to the engine.
finalized_l1_block_tx: Sender<Option<BlockInfo>>A channel that sends new finalized L1 blocks intermittently.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EngineInboundData
impl !RefUnwindSafe for EngineInboundData
impl Send for EngineInboundData
impl Sync for EngineInboundData
impl Unpin for EngineInboundData
impl !UnwindSafe for EngineInboundData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more