mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Revise a bit
This commit is contained in:
@@ -469,7 +469,7 @@ impl<E: EthSpec> ProductionValidatorClient<E> {
|
|||||||
} else {
|
} else {
|
||||||
SelectionProofConfig {
|
SelectionProofConfig {
|
||||||
lookahead_slot: SELECTION_PROOF_SLOT_LOOKAHEAD,
|
lookahead_slot: SELECTION_PROOF_SLOT_LOOKAHEAD,
|
||||||
computation_offset: Duration::from_secs(6),
|
computation_offset: slot_clock.slot_duration() / SELECTION_PROOF_SCHEDULE_DENOM,
|
||||||
selections_endpoint: false,
|
selections_endpoint: false,
|
||||||
parallel_sign: false,
|
parallel_sign: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -351,9 +351,6 @@ pub async fn poll_sync_committee_duties<T: SlotClock + 'static, E: EthSpec>(
|
|||||||
let sub_duties_service = duties_service.clone();
|
let sub_duties_service = duties_service.clone();
|
||||||
duties_service.context.executor.spawn(
|
duties_service.context.executor.spawn(
|
||||||
async move {
|
async move {
|
||||||
// The defined config here defaults to using selections_endpoint and parallel_sign (i.e., distributed mode)
|
|
||||||
// Other DVT applications, e.g., Anchor can pass in different configs to suit different needs.
|
|
||||||
|
|
||||||
fill_in_aggregation_proofs(
|
fill_in_aggregation_proofs(
|
||||||
sub_duties_service,
|
sub_duties_service,
|
||||||
&new_pre_compute_duties,
|
&new_pre_compute_duties,
|
||||||
|
|||||||
Reference in New Issue
Block a user