Skip to content

fix: repair Mining pool profile: 970914 (explorer.pool-profile~dd32ebaa4d65) - #166

Merged
bitcoinuniverseadmin merged 1 commit into
developfrom
x/repair/explorer-pool-profile-dd32ebaa4d65-XoHamy
Oct 14, 2026
Merged

bitcoinuniverseadmin merged 1 commit into
developfrom
x/repair/explorer-pool-profile-dd32ebaa4d65-XoHamy

Conversation

@bitcoinuniverseadmin

Copy link
Copy Markdown

The block page graph is empty because /api/v1/block/:hash/summary times out. For a block not in the memory or database summary cache, Blocks.$getStrippedBlockTransactions used bitcoinApi.$getTxsForBlock(hash, true). Against a Bitcoin Core backend that looks up every input's previous output one at a time, at two Core requests per input over the ~115 ms tunnel, so the request runs for minutes. The frontend then gets an error, uses an empty transaction list and shows a blank graph. This cause comes from reading the code: the live API could not be reached from this session. Fix: when not on Liquid and the API offers it, build the summary from one $getTxsForBlockWithoutPrevouts read with Core's own fees, falling back to the old path if that read fails. Esplora and Liquid are unchanged. Trade-off: summaries built this way have no previous-output data, so input-type flags are less detailed and are stored that way when summary indexing is on. Added a regression test. NOT VERIFIED: the session blocked every jest, npm and eslint command, and npx prettier failed because prettier is not installed, so the tests, linter and formatter were not run. Nothing was committed or pushed.

Found by a live Universe X journey (run run_fkWVZPXoHamy) and repaired automatically. Checks reported by the fixer: npx prettier --write (failed: prettier is not installed in the worktree), jest blocks-summary-read, bitcoin-transaction-status, blocks-confirmed-fee (not run: the session blocked the command), eslint on changed files (not run: the session blocked the command).

🤖 Generated with Claude Code

The block page graph is empty because /api/v1/block/:hash/summary times out. For a block not in the memory or database summary cache, Blocks.$getStrippedBlockTransactions used bitcoinApi.$getTxsForBlock(hash, true). Against a Bitcoin Core backend that looks up every input's previous output one at a time, at two Core requests per input over the ~115 ms tunnel, so the request runs for minutes. The frontend then gets an error, uses an empty transaction list and shows a blank graph. This cause comes

Prepared by Universe X run run_fkWVZPXoHamy. Not released.
@bitcoinuniverseadmin
bitcoinuniverseadmin merged commit df77584 into develop Oct 14, 2026
4 of 6 checks passed
@bitcoinuniverseadmin
bitcoinuniverseadmin deleted the x/repair/explorer-pool-profile-dd32ebaa4d65-XoHamy branch October 14, 2026 00:12
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