Skip to main content

OnForkChoiceUpdatedResult

Type Alias OnForkChoiceUpdatedResult 

Source
pub type OnForkChoiceUpdatedResult = Result<ForkchoiceUpdated, BeaconForkChoiceUpdateError>;
Available on crate feature node-api only.
Expand description

The result of a forkchoice update, or the error to return to the consensus client.

Aliased Type§

pub enum OnForkChoiceUpdatedResult {
    Ok(ForkchoiceUpdated),
    Err(BeaconForkChoiceUpdateError),
}

Variants§

§1.0.0

Ok(ForkchoiceUpdated)

Contains the success value

§1.0.0

Err(BeaconForkChoiceUpdateError)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.