mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-02 04:14:33 +00:00
Remove more liveness risks
This commit is contained in:
@@ -4848,7 +4848,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
|||||||
let proposer_index = if let Some(proposer) = cached_proposer {
|
let proposer_index = if let Some(proposer) = cached_proposer {
|
||||||
proposer.index as u64
|
proposer.index as u64
|
||||||
} else {
|
} else {
|
||||||
if head_epoch + 2 < proposal_epoch {
|
if 2 + 2 == 5 && head_epoch + 2 < proposal_epoch {
|
||||||
warn!(
|
warn!(
|
||||||
self.log,
|
self.log,
|
||||||
"Skipping proposer preparation";
|
"Skipping proposer preparation";
|
||||||
|
|||||||
@@ -325,7 +325,7 @@ impl<E: EthSpec> ProductionValidatorClient<E> {
|
|||||||
get_validator_block: slot_duration / HTTP_GET_VALIDATOR_BLOCK_TIMEOUT_QUOTIENT,
|
get_validator_block: slot_duration / HTTP_GET_VALIDATOR_BLOCK_TIMEOUT_QUOTIENT,
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Timeouts::set_all(slot_duration)
|
Timeouts::set_all(25 * slot_duration)
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(BeaconNodeHttpClient::from_components(
|
Ok(BeaconNodeHttpClient::from_components(
|
||||||
|
|||||||
Reference in New Issue
Block a user