Repository navigation
feat(zcash): add blocks list and block detail pages - #408
Merged
Merged
Conversation
8 of 12 tasks
8 tasks
MatiasOS
force-pushed
the
issue-398-zcash-blocks
branch
from
November 20, 2026 22:11
2cf2089 to
401591d
Compare
|
🚀 Preview: https://pr-408--openscan.netlify.app |
Block details come from a single getblock call and surface Zcash header fields (hex nonce, Equihash solution, commitment roots, note commitment tree sizes), coinbase outputs, per-pool shielded transaction counts and value pools after the block.
- Block Reward adds the shielded coinbase value, so blocks mined to a
Sapling or Orchard address no longer show only funding streams.
- The blocks list makes one streamed summaries call, aborts on page or
network change, and lists blocks that fail as rows with a retry.
- Block details reuse FieldLabel (honouring the knowledge level),
LongString for the Equihash solution, the shared pool chip and the
typed pool label keys.
- The tip block is no longer cached; cached blocks show their
confirmations as a lower bound ("N+").
- The loader waits out the rate-limit retry window and its Retry
re-runs the fetch instead of reloading the page.
- Plural forms for confirmations, transaction counts and the page
summary.
- E2E: a pre-NU5 block, paging to genesis, and a failed block retried.
MatiasOS
force-pushed
the
issue-398-zcash-blocks
branch
from
November 20, 2026 23:44
401591d to
074300a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the Zcash blocks list (
/zec/blocks) and block detail (/zec/block/:filter) pages, plus theirtzecequivalents.getblockcall per block. Rows fill in as each call returns, so the page stays usable on rate-limited gateways. Pagination uses?fromBlock, the same as Bitcoin.getblock(height, 2)call. It shows:Related Issue
Part of #398. Stacked on #407.
Type of Change
Changes Made
ZcashBlocksPage,ZcashBlockPageandZcashBlockDisplay.ZcashValuePoolsnow takes the pools directly, so the block page can reuse it.zec|tzec/blocksandzec|tzec/block/:filter.zcashlocale strings andtooltips.zcash.blockin all 5 locales.e2e/tests/shared/mocked/zcash-blocks.spec.ts.Screenshots (if applicable)
Checked locally against mocked RPC data at desktop width and at 400px.
Checklist
npm run format:fixandnpm run lint:fixnpm run typecheckwith no errorsnpm run test:runAdditional Notes
npm run test:run: 150 passing.Review follow-up
FieldLabel(which honours the knowledge level),LongStringfor the Equihash solution, the shared pool chip and the typed label keys.LoaderWithTimeoutis localized (it had hardcoded English). Zcash pages wait out the rate-limit retry window (50s), and Retry re-runs the fetch instead of reloading the page.Tests after the follow-up
npm run test:run: 198 passing.