[claude] Re-implement Bitcoin block height counter (#480) #495
Reference in New Issue
Block a user
Delete Branch "claude/issue-480"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #480
Changes
#block-height-displayHUD element toindex.html(bottom-right corner)style.cssinitBitcoin()IIFE inapp.jsthat pollsblockstream.infoevery 60 secondsHow it works
Fetches the current Bitcoin block height from
https://blockstream.info/api/blocks/tip/heighton load and every 60 seconds. When a new block is detected, the counter briefly flashes white/blue to signal the new block.Notes
reference/v2-modularbranch (modules/extras.js)node --check app.jspasses