Add Running Genesis Mode HOWTO#2037
Open
dnadales wants to merge 1 commit into
Open
Conversation
Operational guide for running, configuring, and debugging Genesis-mode nodes. Covers host networking (IPv4/IPv6), small-testnet peer selection overrides (including MinBigLedgerPeersForTrustedState), sync stall diagnosis, and tracer configuration.
Contributor
|
lgtm, and indeed there is documentation on configuring and running in |
coot
reviewed
May 18, 2026
Comment on lines
+20
to
+21
| "UseTraceDispatcher": true, | ||
| "TurnOnLogging": true |
Contributor
There was a problem hiding this comment.
Last two are generic tracing options, rather than something Genesis related, using UseTraceDispatcher is probably not even necessary, e.g. one can run the new tracing system in a mode which traces to stdout rather than through the TraceDispatcher.
Comment on lines
+33
to
+36
| ```json | ||
| "HostIPv4Addr": "0.0.0.0", | ||
| "HostIPv6Addr": "::" | ||
| ``` |
Contributor
There was a problem hiding this comment.
I never used these config options (are you sure they exist?), there are CLI options for them in the node.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Motivation
The existing Genesis documentation (
genesis_design.md) describes the design for implementers.There was no documentation for people actually running, configuring, or debugging Genesis-mode nodes.
This gap became apparent while investigating sync stalls on the dijkstra and leios testnets (3 relays each).
The root cause was that
MinBigLedgerPeersForTrustedState(default 5) prevents the HAA from being satisfied when the network has fewer than 5 big ledger peers — a fact not documented anywhere.Lowering
SyncTargetNumberOfActiveBigLedgerPeersalone is not sufficient; the HAA gate must also be lowered.The new doc distills the debugging knowledge acquired during that investigation into reusable guidance.