Skip to content

genesis: parse stabilityWindowFactor as a double and document it - #190

Merged
satran004 merged 2 commits into
bloxbean:mainfrom
rjharmon:stability-window-factor-parse
Sep 25, 2026
Merged

satran004 merged 2 commits into
bloxbean:mainfrom
rjharmon:stability-window-factor-parse

Conversation

@rjharmon

@rjharmon rjharmon commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The admin-update merge path parsed this double field with Integer.parseInt, so any fractional value (the only useful kind) threw. The properties-file path already bound it correctly.

  • parse with Double.parseDouble in GenesisConfig.merge
  • explain the k derivation and the idle tolerance it fixes in the node-configuration page and in node.properties

The admin-update merge path parsed this double field with Integer.parseInt,
so any fractional value (the only useful kind) threw. The properties-file
path already bound it correctly.

- parse with Double.parseDouble in GenesisConfig.merge
- explain the k derivation and the idle tolerance it fixes in the
  node-configuration page and in node.properties

@satran004 satran004 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rjharmon . LGTM

@satran004
satran004 merged commit 29b386f into bloxbean:main Sep 25, 2026
2 checks passed
satran004 added a commit that referenced this pull request Sep 26, 2026
Brings in #188 (relay sync wait by progress), #189 (slot-leader time travel below
f=1) and #190 (stabilityWindowFactor as a double).

- YanoConfigBuilder.build() takes the history dir, #189's slot-leader flag and the
  backfill interval; YanoService keeps both settings and passes both
- application.properties, both node.properties and the node-modes / node-configuration
  docs keep every section; the node.properties examples keep slotsPerKESPeriod=10000000

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants