Skip to content

[KIP286] update slot limit formulas, add MinActiveCount#107

Merged
hyunsooda merged 2 commits intokaiachain:mainfrom
hyunsooda:feat/kip286-slot-math
Apr 17, 2026
Merged

[KIP286] update slot limit formulas, add MinActiveCount#107
hyunsooda merged 2 commits intokaiachain:mainfrom
hyunsooda:feat/kip286-slot-math

Conversation

@hyunsooda
Copy link
Copy Markdown
Contributor

@hyunsooda hyunsooda commented Apr 14, 2026

Proposed changes

  • Add MinActiveCount parameter: ceil(2n/3) where n (= SF) is ValActive count at epoch start
  • Update ValPausedSlotLimit / ValExitingSlotLimit formula: ceil(floor(n/3)/2) where n (= SF) is ValActive count at epoch start

Types of changes

  • Bugfix
  • KIP Proposal
  • KIP Improvement

Checklist

  • Used the suggested template
  • I have read the CLA and signed by comment
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Related issues

Further comments

- Add MinActiveCount parameter: ceil(2n/3) where n = ValActive count at epoch start
- Update ValPausedSlotLimit/ValExitingSlotLimit formula: ceil(floor(n/3)/2)
- Replace ambiguous "byzantine fault tolerance factor" with explicit formula

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hyunsooda hyunsooda self-assigned this Apr 14, 2026
@hyunsooda hyunsooda marked this pull request as draft April 14, 2026 07:42
@hyunsooda hyunsooda changed the title [KIP286]: [KIP286]: update slot limit formulas, add MinActiveCount Apr 14, 2026
@hyunsooda hyunsooda marked this pull request as ready for review April 14, 2026 07:44
@hyunsooda hyunsooda changed the title [KIP286]: update slot limit formulas, add MinActiveCount [KIP286] update slot limit formulas, add MinActiveCount Apr 14, 2026
For n < 4, BFT fault tolerance f = 0 (2/3 majority requires all nodes).
MinActiveCount = n, ValPausedSlotLimit = ValExitingSlotLimit = 0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hyunsooda hyunsooda merged commit 51aee66 into kaiachain:main Apr 17, 2026
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants