You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let num_quorums = llmq_params.signing_active_quorum_countasusize;
23
-
let cycle_length = llmq_params.dkg_params.interval;
24
-
let work_block_height_for_index = |index:u32| (cycle_base_height - index * cycle_length) - 8;
25
-
// Reconstruct quorum members at h - 3c from snapshot
26
-
let q_h_m_3c = self.quorum_quarter_members_by_reconstruction_type(LLMQQuarterReconstructionType::Snapshot,&llmq_params,work_block_height_for_index(3))?;
27
-
// Reconstruct quorum members at h - 2c from snapshot
28
-
let q_h_m_2c = self.quorum_quarter_members_by_reconstruction_type(LLMQQuarterReconstructionType::Snapshot,&llmq_params,work_block_height_for_index(2))?;
29
-
// Reconstruct quorum members at h - c from snapshot
30
-
let q_h_m_c = self.quorum_quarter_members_by_reconstruction_type(LLMQQuarterReconstructionType::Snapshot,&llmq_params,work_block_height_for_index(1))?;
31
-
// Determine quorum members at new index
32
-
let reconstruction_type = LLMQQuarterReconstructionType::New{previous_quarters:[&q_h_m_c,&q_h_m_2c,&q_h_m_3c], skip_removed_masternodes };
33
-
let quarter_new = self.quorum_quarter_members_by_reconstruction_type(reconstruction_type,&llmq_params,work_block_height_for_index(0))?;
0 commit comments