Skip to content

Commit

Permalink
Merge branch '2.0' into nodejs-single-account-wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Nov 9, 2023
2 parents 3d2e06e + edefa1d commit cf0ce1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/src/types/block/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ pub struct ProtocolParameters {
pub(crate) version_signaling: VersionSignalingParameters,
/// Defines the parameters used for reward calculation.
pub(crate) rewards_parameters: RewardsParameters,
/// Defines the target size of the committee. If there's fewer candidates the actual committee size could be
/// smaller in a given epoch.
pub(crate) target_committee_size: u8,
}

// This implementation is required to make [`ProtocolParameters`] a [`Packable`] visitor.
Expand Down Expand Up @@ -113,6 +116,7 @@ impl Default for ProtocolParameters {
congestion_control_parameters: Default::default(),
version_signaling: Default::default(),
rewards_parameters: Default::default(),
target_committee_size: 32,
}
}
}
Expand Down

0 comments on commit cf0ce1b

Please sign in to comment.