Skip to content

docs: README polish before v0.2.0 - #118

Merged
neverDefined merged 1 commit into
mainfrom
docs-readme-polish
Apr 27, 2026
Merged

docs: README polish before v0.2.0#118
neverDefined merged 1 commit into
mainfrom
docs-readme-polish

Conversation

@neverDefined

Copy link
Copy Markdown
Owner

Summary

Three small README improvements before tagging v0.2.0. No code changes.

1. Header / value prop

Opening line now names the use case ("Write deterministic Go tests for upcoming Bitcoin soft forks…") and a new Why this exists paragraph explains the pain point (stock Core doesn't know the new opcodes, Inquisition does, this library wraps either). Features list reordered so soft-fork + time-warp lead, then everyday wallet/tx features.

2. Soft-fork section reorder

Now leads with the typed helpers (SupportsBIP + MineUntilActiveBIP) that consumers should copy, not the manual for status != Active { rt.Warp(144) } polling loop. The polling loop demoted to an "Underneath" subsection. ListDeployments and WarpTime get their own short snippets. Worked-example links promoted to a visible bulleted list.

3. Troubleshooting expanded

Adds the friction we actually surfaced during Phase 6 development:

  • macOS ulimit -n 4096 (most common failure mode)
  • Variant() returning Unknown
  • generatetoaddress "time-too-old" from the uint32 block-timestamp cap (year 2106)
  • Inquisition's strict 3-field -vbparams + BIP54 coinbase rules
  • BIP9's LOCKED_IN-before-FAILED evaluation order with the -blockversion=0x20000000 workaround

Test plan

  • make ai-check green.
  • Markdown renders cleanly (verified via plain read; no broken anchors).

🤖 Generated with Claude Code

Three improvements ahead of cutting v0.2.0:

1) Header rewrite — lead with value prop. The opening line now names
   the use case ("Write deterministic Go tests for upcoming Bitcoin
   soft forks…") and a new "Why this exists" paragraph names the
   pain point: stock Core doesn't know the new opcodes, Inquisition
   does, this library wraps either. Features list reordered so
   soft-fork support and time-warp lead, then everyday wallet/tx
   features.

2) Soft-fork section reorder — lead with the helpers, not the manual
   loop. The first snippet now shows the canonical
   SupportsBIP + MineUntilActiveBIP pattern that downstream consumers
   should copy. ListDeployments and WarpTime get their own short
   examples. The manual VBParams + DeploymentStatus polling loop is
   demoted to an "Underneath" subsection so devs don't copy the
   harder pattern by accident. Worked-example links promoted to a
   visible bulleted list.

3) Troubleshooting expanded with the friction surfaced during Phase 6:
   - macOS ulimit -n 4096 (FD exhaustion is the most common failure)
   - Variant() returning Unknown
   - generatetoaddress "time-too-old" from uint32 block-timestamp cap
   - Inquisition's strict 3-field -vbparams + BIP54 coinbase rules
   - BIP9 LOCKED_IN-before-FAILED evaluation order, with the
     -blockversion=0x20000000 workaround

No code changes; ai-check green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@neverDefined
neverDefined merged commit 399ea78 into main Apr 27, 2026
4 checks passed
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