Skip to content

docs: the README's consensus parameters were wrong and incomplete - #14

Merged
MehranMazhar merged 1 commit into
mainfrom
docs/readme-catch-up
Sep 14, 2026
Merged

MehranMazhar merged 1 commit into
mainfrom
docs/readme-catch-up

Conversation

@MehranMazhar

Copy link
Copy Markdown
Member

Three fixes, one of them a factual error.

"None of them is optional — a config missing any key below fails to deserialize at boot." Three of them are #[serde(default)] and all three were missing from the list: ride_auto_release_secs, mint_cosigners, mint_threshold. The README told a reader the opposite of what the struct says.

The correction keeps the sharp part: optional does not mean outside consensus. Omitting one commits its default into the genesis hash just as firmly as setting it, so two nodes still cannot disagree about whether a key was present.

RideCancel had one outcome and now has two. It refunds the passenger, or releases the unpaid fare to the driver past ride_auto_release_secs. A table row saying only "Cancel active trip" hides the half that decides who gets the money.

get_chain_info was missing from the RPC list. It is the only way to read a chain's committed genesis parameters from outside the node — the config file on disk is what a node was told, not what its chain carries. That distinction cost a round trip to establish today.

🤖 Generated with Claude Code

"None of them is optional" was false: ride_auto_release_secs, mint_cosigners and mint_threshold are
all serde(default), and all three were missing from the list.

RideCancel had one outcome listed and has two. get_chain_info was missing from the RPC list, and it
is the only way to read a chain's committed genesis from outside the node.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@MehranMazhar
MehranMazhar merged commit 47496d9 into main Sep 14, 2026
1 check passed
@MehranMazhar
MehranMazhar deleted the docs/readme-catch-up branch September 14, 2026 12:12
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.

1 participant