mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-01 03:33:47 +00:00
Add stubbed-out block processing to fork choice
This commit is contained in:
@@ -40,7 +40,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
fn process_message(
|
||||
fn process_attestation(
|
||||
&self,
|
||||
validator_index: usize,
|
||||
block_hash: Hash256,
|
||||
@@ -52,6 +52,11 @@ where
|
||||
.map_err(Into::into)
|
||||
}
|
||||
|
||||
/// Process a block that was seen on the network.
|
||||
fn process_block(&self, block_hash: Hash256, block_slot: Slot) -> SuperResult<()> {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
fn find_head<F>(&self, start_block_root: Hash256, weight_fn: F) -> SuperResult<Hash256>
|
||||
where
|
||||
F: Fn(usize) -> Option<u64> + Copy,
|
||||
|
||||
Reference in New Issue
Block a user