Skip to content

Commit

Permalink
docs for computeBakerStakesAndCapital parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
drsk committed Dec 9, 2024
1 parent 9646f20 commit af93309
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions concordium-consensus/src/Concordium/Kontrol/Bakers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,15 @@ data BakerStakesAndCapital bakerInfoRef = BakerStakesAndCapital
-- | Compute the baker stakes and capital distribution.
computeBakerStakesAndCapital ::
forall bakerInfoRef.
-- | Pool parameters
PoolParameters' 'PoolParametersVersion1 ->
-- | Active validators
[ActiveBakerInfo' bakerInfoRef] ->
-- | Passive delegators
[ActiveDelegatorInfo] ->
-- | Validator ids that will be suspended during the snapshot transition
-- because they are primed, but are not yet marked as suspended in their
-- `ActiveBakerInfo`.
Set.Set BakerId ->
BakerStakesAndCapital bakerInfoRef
computeBakerStakesAndCapital poolParams activeBakers passiveDelegators snapshotSuspendedBids = BakerStakesAndCapital{..}
Expand Down

0 comments on commit af93309

Please sign in to comment.