Repository navigation
feat(zcash): add mempool page and navbar mempool link - #410
Merged
Merged
Conversation
7 of 12 tasks
MatiasOS
force-pushed
the
issue-398-zcash-mempool
branch
from
November 20, 2026 22:11
0685c1a to
5bebe56
Compare
|
🚀 Preview: https://pr-410--openscan.netlify.app |
The page lists pending transactions from a single verbose getrawmempool call, sorted by fee rate, so it needs no per-transaction fetches and refreshes every 60s within hosted gateway rate limits.
- The mempool page aborts its polling when the network changes, so a
slow zec response can no longer fill the tzec list, and an in-flight
guard keeps a slow refresh from stacking a second one.
- The loader waits out the rate-limit retry window and Retry re-runs
the fetch instead of reloading the page.
- The page reads its network from useZcashNetworkFromPath and uses
the shared relative time.
- mempool.summary gets plural forms ("1 pending transaction").
- E2E: the singular summary, and a slow mainnet response after
switching to testnet.
MatiasOS
force-pushed
the
issue-398-zcash-mempool
branch
from
November 20, 2026 23:44
5bebe56 to
69884c5
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 mempool page (
/zec/mempool,/tzec/mempool) and shows the navbar mempool link on Zcash networks.The page gets every pending transaction from a single verbose
getrawmempoolcall and sorts them by fee rate. There are no per-transaction fetches. Pagination is client-side and the page refreshes every 60s, which keeps it within hosted gateway rate limits.Each row links to
/zec/mempool/:txid, which opens the transaction page.Related Issue
Part of #398. Stacked on #409.
Type of Change
Changes Made
ZcashMempoolPageshows the txid, age, size, fee and fee rate (zat/B) for each pending transaction. On narrow screens, age, size and fee rate are hidden; like the other explorer tables, the table scrolls horizontally, since.dash-tablekeeps a 600px minimum width.zec|tzec/mempoolandzec|tzec/mempool/:filter.NavbarLogonow shows the mempool link on Zcash networks too.zcashlocale strings for the mempool page in all 5 locales.e2e/tests/shared/mocked/zcash-mempool.spec.ts. The shared RPC mock now also serves a verbose mempool.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
sizeandfeebut no vsize or weight, so the fee rate is in zatoshis per byte.npm run test:run: 151 passing.Review follow-up
zecresponse can't fill thetzeclist. An in-flight guard keeps a slow refresh from stacking another.mempool.summaryhas plural forms ("1 pending transaction").Tests after the follow-up
npm run test:run: 199 passing.