Problem
During ./start-node, the backing Bitcoin Core containers (btc-node, tbtc-node, signet-node, …) each emit one UpdateTip … progress= log line per block during initial block download. This produces a multi-thousand-line firehose that buries the Gatekeeper / Keymaster / IPFS logs and makes it hard to tell how far along a sync actually is.
Proposal
Add a small, zero-dependency helper that consumes the docker compose log stream and renders a single in-place progress view: one combined OVERALL bar plus a per-chain bar (with block height and date). It would live alongside the existing scripts/btc-logs / scripts/signet-logs helpers.
Acceptance criteria
- Reads compose log output from stdin; no changes to existing services.
- Shows live progress per chain and an overall bar, updated in place (no scrollback spam).
- No new runtime dependencies (Node stdlib only).
- Usage documented:
docker compose logs -f | node scripts/sync-progress.mjs.
Notes
A more robust long-term approach would poll each node's getblockchaininfo (verificationprogress) over RPC instead of scraping stdout; open to that direction if preferred.
Implementation proposed in #1210.
Problem
During
./start-node, the backing Bitcoin Core containers (btc-node,tbtc-node,signet-node, …) each emit oneUpdateTip … progress=log line per block during initial block download. This produces a multi-thousand-line firehose that buries the Gatekeeper / Keymaster / IPFS logs and makes it hard to tell how far along a sync actually is.Proposal
Add a small, zero-dependency helper that consumes the
docker composelog stream and renders a single in-place progress view: one combined OVERALL bar plus a per-chain bar (with block height and date). It would live alongside the existingscripts/btc-logs/scripts/signet-logshelpers.Acceptance criteria
docker compose logs -f | node scripts/sync-progress.mjs.Notes
A more robust long-term approach would poll each node's
getblockchaininfo(verificationprogress) over RPC instead of scraping stdout; open to that direction if preferred.Implementation proposed in #1210.