Skip to content

fix: wait for a bitcoin that publishes the public volume - #11

Merged
MattDHill merged 1 commit into
mainfrom
fix/bitcoin-public-volume-check
Nov 20, 2026
Merged

MattDHill merged 1 commit into
mainfrom
fix/bitcoin-public-volume-check

Conversation

@MattDHill

Copy link
Copy Markdown
Member

Monetary View mounts Bitcoin's public volume for the RPC cookie, and that volume exists only from Bitcoin 28.4:42 / 29.5:4 / 30.4:4 / 31.2:4 and Knots (pre-RDTS) 29.3:33 onward. StartOS doesn't hold a service back on an unsatisfied dependency, and mounting a dependency volume that doesn't exist fails the mount. So an owner who updates Monetary View before Bitcoin gets a service that fails to start with a mount error that doesn't mention Bitcoin.

What changed

  • main.ts reads the installed Bitcoin's manifest (sdk.getServiceManifest(...).const()) next to the RPC address it already watches. If Bitcoin is installed but its manifest doesn't declare public, main mounts nothing and returns the existing bitcoind-rpc placeholder ("Bitcoin connection"), which now fails with "Update Bitcoin so Monetary View can connect to it" instead of the loading message it shows while Bitcoin has no RPC binding. The manifest is watched, so updating Bitcoin restarts main and the service starts as usual. Nothing changes when Bitcoin is current or isn't installed.
  • One new i18n string in all five locales.
  • README (health checks) and instructions.md (one line after setup) describe the new state.
  • 0.3.14:1 isn't released yet, so it is edited in place: its release notes gain one sentence in all five locales.

Existing installs

Nothing to migrate. With a current Bitcoin, the service runs exactly as it does now.

Verified

npx tsc --noEmit, prettier and rm -rf javascript && make javascript/index.js are clean. Not box-tested.

@MarkSierra, could you take a look when you have a moment?

review effort: 'high'

🤖 Generated with Claude Code

Mounting a dependency volume that does not exist fails the start, and a
Bitcoin older than the release that publishes its public volume has none.
Read the installed Bitcoin's manifest first: while it lacks the volume,
the Bitcoin connection placeholder check fails and asks the owner to
update Bitcoin. The manifest is watched, so the update starts Monetary
View normally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@helix-white helix-white left a comment

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.

Checked the manifest guard before subcontainer creation, reactive recovery when Bitcoin gains the public volume, the unchanged RPC-waiting path, and the translations and documentation. No blocking findings. The head merges cleanly into main; all four current CI checks passed. Review was code-only; no builds or runtime tests run.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

@MattDHill
MattDHill merged commit c724176 into main Nov 20, 2026
4 checks passed
@MattDHill
MattDHill deleted the fix/bitcoin-public-volume-check branch November 20, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants