Modify to FuturesUnordered for Sync

This commit is contained in:
Tan Chee Keong
2025-04-15 21:39:55 +08:00
parent 3fc62f2241
commit ab1d2c06c6
2 changed files with 40 additions and 13 deletions

View File

@@ -126,11 +126,11 @@ pub struct SubscriptionSlots {
duty_slot: Slot,
}
struct SelectionProofConfig {
lookahead_slot: u64,
computation_offset: Duration, // The seconds to compute the selection proof before a slot
selections_endpoint: bool,
parallel_sign: bool,
pub struct SelectionProofConfig {
pub lookahead_slot: u64,
pub computation_offset: Duration, // The seconds to compute the selection proof before a slot
pub selections_endpoint: bool,
pub parallel_sign: bool,
}
/// Create a selection proof for `duty`.