archipelago
6aa74c7386
feat(bitcoin): multi-version support for Core & Knots (install/switch/pin/auto-update)
Lets a node runner choose which Bitcoin Core / Knots version to install
(latest pre-selected), then switch, pin, or opt into auto-update from the
app's interface — all manifest/catalog-driven, rootless, signed-registry,
zero-data-loss. Motivated by upcoming BIP-110 signalling: runners need a
real choice of software version.
Backend:
- version_config.rs: per-app pin + auto-update persistence (atomic, merge-
preserving), downgrade detection, auto-update enumeration (+ unit tests).
- app_catalog.rs: CatalogVersion / versions[] schema, catalog_versions(),
catalog_image_for_version() (same-repo guard); a pin suppresses the update
badge.
- prod_orchestrator.rs: pinned version wins over the catalog default on every
install/recreate.
- install.rs: install-time `version` param persisted (default = unpinned).
- set_config.rs: package.versions (read) + package.set-config (write) RPCs;
downgrade is gated behind explicit confirm (warn + confirm + allow).
- update.rs/main.rs: hourly per-app auto-update tick via the orchestrator
(opt-in, pin-respecting); fix handle_package_update to be non-fatal for
orchestrator-managed apps lacking a catalog primary image (bitcoin-core).
UI:
- MarketplaceAppDetails.vue: install-time version selector (shown when an app
offers >=2 versions).
- appDetails/AppSidebar.vue: "Version & Updates" card (switch / pin / auto-
update toggle / downgrade warning), per app.
- rpc-client.ts + en.json: RPC methods, types, strings.
Phase 0 image pipeline:
- scripts/build-bitcoin-image.sh: download official tarball + SHA256SUMS(.asc),
verify SHA-256 + pinned-maintainer OpenPGP signature (fail-closed), build a
minimal rootless image, smoke-test, tag + push.
- apps/bitcoin-core/Dockerfile rewritten (drops stale community base);
apps/bitcoin-knots/Dockerfile added.
- generate-app-catalog.sh: emit curated versions[]; published + catalog now
offers Core 25.2/26.2/27.2/28.4/29.3/30.2/31.0 + Knots 29.3.knots20260508.
docs/bitcoin-multi-version-design.md: live progress tracker.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 18:46:17 -04:00
..
2026-03-14 05:47:29 +00:00
2026-06-11 01:03:45 -04:00
2026-06-14 08:01:30 -04:00
2026-05-06 09:23:57 -04:00
2026-05-01 08:52:29 -04:00
2026-04-30 16:37:54 -04:00
2026-02-01 18:46:35 +00:00
2026-04-08 15:06:27 +02:00
2026-03-12 00:19:30 +00:00
2026-04-30 16:37:54 -04:00
2026-04-11 09:33:10 -04:00
2026-06-28 18:46:17 -04:00
2026-06-11 01:16:21 -04:00
2026-05-17 18:59:12 -04:00
2026-02-01 18:46:35 +00:00
2026-05-19 09:26:43 -04:00
2026-06-18 09:14:47 -04:00
2026-05-13 14:11:42 -04:00
2026-06-22 18:12:41 -04:00
2026-03-04 05:23:42 +00:00
2026-04-11 09:33:10 -04:00
2026-03-21 02:06:08 +00:00
2026-06-11 00:24:32 -04:00
2026-06-12 03:00:15 -04:00
2026-06-12 03:00:15 -04:00
2026-04-11 09:33:10 -04:00
2026-04-10 03:10:49 -04:00
2026-06-17 19:22:02 -04:00
2026-06-11 00:24:32 -04:00
2026-04-19 01:50:20 -04:00
2026-04-19 02:08:32 -04:00
2026-06-11 00:52:16 -04:00
2026-06-28 18:46:17 -04:00
2026-06-28 12:19:27 -04:00
2026-04-09 21:32:08 +02:00
2026-02-25 18:04:41 +00:00
2026-02-17 15:03:34 +00:00
2026-06-11 01:03:45 -04:00
2026-02-25 18:04:41 +00:00
2026-02-18 13:48:45 +00:00
2026-04-02 11:14:34 +01:00
2026-03-18 13:53:27 +00:00
2026-06-26 11:53:25 +01:00
2026-05-19 12:10:42 -04:00
2026-06-11 00:24:32 -04:00
2026-03-09 09:53:36 +00:00
2026-03-27 17:17:18 +00:00
2026-03-10 23:56:10 +00:00
2026-06-12 03:00:15 -04:00
2026-03-21 01:11:05 +00:00
2026-05-05 11:29:18 -04:00
2026-02-01 05:42:05 +00:00
2026-03-21 03:08:00 +00:00
2026-06-11 01:16:21 -04:00
2026-06-14 08:31:43 -04:00
2026-03-21 01:46:40 +00:00
2026-03-21 01:39:22 +00:00
2026-03-21 01:11:05 +00:00
2026-04-11 09:33:10 -04:00
2026-06-16 10:17:29 -04:00