mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 20:22:02 +00:00
Implement status v2 version (#7590)
N/A Implements status v2 as defined in https://github.com/ethereum/consensus-specs/pull/4374/
This commit is contained in:
@@ -746,6 +746,7 @@ impl<E: EthSpec> PeerDB<E> {
|
||||
head_root: Hash256::ZERO,
|
||||
finalized_epoch: Epoch::new(0),
|
||||
finalized_root: Hash256::ZERO,
|
||||
earliest_available_slot: Some(Slot::new(0)),
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
@@ -25,6 +25,7 @@ pub struct SyncInfo {
|
||||
pub head_root: Hash256,
|
||||
pub finalized_epoch: Epoch,
|
||||
pub finalized_root: Hash256,
|
||||
pub earliest_available_slot: Option<Slot>,
|
||||
}
|
||||
|
||||
impl std::cmp::PartialEq for SyncStatus {
|
||||
|
||||
Reference in New Issue
Block a user