Skip to content

Debug API description#18726

Closed
bloxster wants to merge 10 commits into
mainfrom
bloxster/260119-docs
Closed

Debug API description#18726
bloxster wants to merge 10 commits into
mainfrom
bloxster/260119-docs

Conversation

@bloxster
Copy link
Copy Markdown
Collaborator

@bloxster bloxster commented Jan 20, 2026

  • Added JSON-RPC specification for debug API
  • Made visual formatting consistent across all JSON-RPC APIs
  • Updated Options in CLI Reference to v3.3.4

GLOBAL OPTIONS:
--datadir value Data directory for the databases (default: /home/user/.local/share/erigon)
--ethash.dagdir value Directory to store the ethash mining DAGs (default: /home/user/.local/share/erigon-ethash)
--datadir value Data directory for the databases (default: /home/bloxster/.local/share/erigon)
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.

wrong default

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Corrected.

--nodiscover Disables the peer discovery mechanism (manual peer addition) (default: false)
--v5disc Enables the experimental RLPx V5 (Topic Discovery) mechanism (default: false)
--discovery.v4, --discv4 Enables the V4 discovery mechanism (default: false)
--discovery.v5, --discv5 Enables the V5 discovery mechanism (default: false)
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.

isn't discv5 enabled by default now? (i might be wrong)

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.

Yeah, I think @anacrolix enabled discv5 by default

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Updated, but we should also update erigon --h output

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@bloxster
Copy link
Copy Markdown
Collaborator Author

Closing to create a cleaner PR #19068 .

@bloxster bloxster closed this Feb 10, 2026
@bloxster bloxster deleted the bloxster/260119-docs branch March 27, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants