Skip to content

Add error codes section to regtest-mode documentation#315

Open
sungdark wants to merge 1 commit intobitcoin-dot-org:masterfrom
sungdark:master
Open

Add error codes section to regtest-mode documentation#315
sungdark wants to merge 1 commit intobitcoin-dot-org:masterfrom
sungdark:master

Conversation

@sungdark
Copy link
Copy Markdown

Summary

Adds an 'Error Codes' section to the Regtest Mode documentation page, addressing bounty issue bitcoin-dot-org/Bitcoin.org#1837.

Changes

  • Added 'Error Codes' subsection under the Regtest Mode section in
  • Documented the JSON-RPC error message format
  • Added example: bad-fork-prior-to-checkpoint (code 67) which occurs when running bitcoin-cli -regtest generate 11
  • Explained common block generation errors and how to avoid them
  • Added a reference table of common RPC error codes

Bounty

  • Reward: 25,000 bits (~50 USD)
  • Payment address: eB51DWp1uECrLZRLsE2cnyZUzfRWvzUzaJzkatTpQV9

Testing

The changes are documentation-only (RST format). The Sphinx build was not run, but the RST syntax follows the existing conventions in the file.

Addresses bounty issue bitcoin-dot-org/Bitcoin.org#1837

- Added 'Error Codes' subsection under Regtest Mode section
- Documented error message format (JSON-RPC response structure)
- Added example: bad-fork-prior-to-checkpoint (code 67) from 'bitcoin-cli -regtest generate 11'
- Explained common block generation errors in regtest mode
- Added reference to RPC error codes documentation

Bounty: 25,000 bits (~50 USD)
Payment address: eB51DWp1uECrLZRLsE2cnyZUzfRWvzUzaJzkatTpQV9
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