Skip to content

Commit

Permalink
ClusterQCVoteData docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanschalm committed Oct 17, 2024
1 parent 8f5e459 commit 1fb23bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions contracts/epochs/FlowClusterQC.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,12 @@ access(all) contract FlowClusterQC {
}
}

/// Represents the quorum certificate vote data for a signer
/// of the certificate.
/// Represents the aggregated signature for a cluster quorum certificate.
access(all) struct ClusterQCVoteData {
/// The aggregated signature, hex-encoded, encompasses all individual vote signatures contributed by nodes across the cluster
/// The aggregated signature, hex-encoded. Includes one vote for each node in `voterIDs`.
access(all) let aggregatedSignature: String

/// The node IDs that contributed their vote to the aggregated signature
/// The node IDs that contributed their vote to the aggregated signature.
access(all) let voterIDs: [String]

init(aggregatedSignature: String, voterIDs: [String]) {
Expand Down

0 comments on commit 1fb23bb

Please sign in to comment.