Skip to content

Add regtest block generation troubleshooting#324

Open
apollo-jpg wants to merge 1 commit into
bitcoin-dot-org:masterfrom
apollo-jpg:bounty-1837-regtest-troubleshooting
Open

Add regtest block generation troubleshooting#324
apollo-jpg wants to merge 1 commit into
bitcoin-dot-org:masterfrom
apollo-jpg:bounty-1837-regtest-troubleshooting

Conversation

@apollo-jpg
Copy link
Copy Markdown

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

The public Bitcoin.org developer examples now redirect to this repository, so I made the documentation change here in examples/testing.rst.

What changed

  • Added a short troubleshooting note under Regtest Mode for CreateNewBlock: TestBlockValidity failed: bad-fork-prior-to-checkpoint (code 67).
  • Points users to generatetoaddress for Bitcoin Core 18.0+ instead of the removed generate RPC.
  • Adds recovery steps for stale/forked regtest directories and for accidentally mixing network modes.

Verification

  • git diff --check passes.
  • python3 -m sphinx --version is not available in this local environment, so I could not run the Sphinx build here.

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