mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
feat: add forkchoice update tracker type (#2555)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
@@ -22,8 +22,11 @@ pub type ForkChoiceUpdateResult = Result<ForkchoiceUpdated, ForkchoiceUpdateErro
|
||||
#[derive(Default, Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ForkchoiceState {
|
||||
/// Hash of the head block.
|
||||
pub head_block_hash: H256,
|
||||
/// Hash of the safe block.
|
||||
pub safe_block_hash: H256,
|
||||
/// Hash of finalized block.
|
||||
pub finalized_block_hash: H256,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user