mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-29 02:33:48 +00:00
Expanded fork choice api to provide latest validator message.
This commit is contained in:
@@ -43,4 +43,7 @@ pub trait LmdGhost<S: Store, E: EthSpec>: Send + Sync {
|
||||
finalized_block: &BeaconBlock,
|
||||
finalized_block_root: Hash256,
|
||||
) -> Result<()>;
|
||||
|
||||
/// Returns the latest message for a given validator index.
|
||||
fn latest_message(&mut self, validator_index: usize) -> Option<(Hash256, Slot)>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user