Skip to content

Document regtest block generation errors#330

Open
minyanyi wants to merge 1 commit into
bitcoin-dot-org:masterfrom
minyanyi:codex/regtest-error-guidance
Open

Document regtest block generation errors#330
minyanyi wants to merge 1 commit into
bitcoin-dot-org:masterfrom
minyanyi:codex/regtest-error-guidance

Conversation

@minyanyi
Copy link
Copy Markdown

Summary

  • Adds a focused troubleshooting table to the regtest block generation example.
  • Covers common Bitcoin Core RPC failures around setgenerate / generate, unloaded wallets, invalid mining addresses, and the bounty-reported bad-fork-prior-to-checkpoint (code 67) message.
  • Distinguishes JSON-RPC error codes from validation reject codes so users do not chase the wrong error source.

Fixes bitcoin-dot-org/Bitcoin.org#1837.

Verification

  • git diff --check
  • ..\.venv-developer-bitcoin-org\Scripts\python -m sphinx -M html . _build -n

The Sphinx build succeeded with two pre-existing warnings: language = None fallback and glossary.rst:647 glossary spacing.

Bounty note

This PR is intended for the bounty in bitcoin-dot-org/Bitcoin.org#1837. A payout address can be provided before merge if required.

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.

Add section with possible error codes and resolution suggestions

1 participant