Skip to content

Point to Full Resync from the end of the transaction history - #13

Open
sqhell wants to merge 3 commits into
red-dev-inc:mainfrom
sqhell:feat/history-resync-hint
Open

sqhell wants to merge 3 commits into
red-dev-inc:mainfrom
sqhell:feat/history-resync-hint

Conversation

@sqhell

@sqhell sqhell commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

What

  • A note under the history list, also in the empty state, says that older transactions need a Full Resync from an earlier block, with a link to the Account Summary tab where that control lives.

Why

The history lists only what the wallet has scanned since its sync start block, and nothing on the page said so; a wallet synced from a recent block showed a short list and no way to get the rest. Stacked on the send-again PR because both touch the history page component.

Stack

Position 9 of 15 in the WebZjs release order, to be merged in this order into main. Builds on #9 (feat/send-again). GitHub shows the whole stack against main until those merge; the commits of this PR alone are here: sqhell/WebZjs@feat/send-again...feat/history-resync-hint

  1. Make rustfmt and clippy pass on main #20 chore/rust-checks
  2. Reuse one web worker for every sync instead of spawning per call #6 fix/reuse-sync-worker
  3. Accept Trailers-Only gRPC responses from lightwalletd #7 fix/grpc-web-trailers-only
  4. Keep the Full Resync form usable during background syncs #8 fix/resync-dialog
  5. Send again from the transaction history, with a caution for new recipients #9 feat/send-again
  6. Surface PCZT parse and signer errors instead of trapping; readable transfer errors #10 fix/pczt-parse-error
  7. Sign the change-paired Orchard spends NU6.3 bundles require #11 fix/sign-change-paired-spends
  8. Stop a full resync from an old birthday exhausting the wasm heap #12 fix/historic-sync-oom
  9. Point to Full Resync from the end of the transaction history #13 feat/history-resync-hint (this PR)
  10. Make wallet persistence refuse stale and silent overwrites #14 fix/wallet-store-epochs
  11. Spend and count the Ironwood (NU6.3) pool #15 feat/ironwood-pool
  12. Classify history by what the wallet spent, not only by what it received #16 fix/history-from-spends
  13. Wallet stats card on the account summary #17 feat/wallet-stats
  14. Bounded sync steps, instance ids, close and worker poisoning #18 feat/resumable-sync
  15. Resumable, checkpointed full resync driven by sync steps #19 feat/resync-resume

Rust pins reference sqhell/zcash_client_memory and sqhell/librustzcash by revision so CI builds exactly what was tested; once the zcash_client_memory stack (red-dev-inc/zcash_client_memory #16 to #21) merges, the memory pin goes back to red-dev-inc/zcash_client_memory feat/snap-nu63. The integration branch test/all-fixes on the fork merges all fourteen and is the build that was tested end to end.

Tests

cd packages/web-wallet && yarn test

Rust-Checks has failed on main since the NU6.3 toolchain bump: rustfmt
differs in nine files, and clippy on nightly-2025-06-15 rejects ten
uninlined format arguments in webzjs-keys and one map iteration in
webzjs-requests under -D warnings. Apply rustfmt and clippy's own
suggestions; no behaviour changes.
… recipients

Transaction history entries now carry the encoded addresses of their external
recipients (the wallet already stored them in its sent notes, the history
serializer just dropped them). Sent rows show the recipient and a "Send again"
link that opens Transfer Balance with the address filled in; shielding rows
link to Shield Balance.

The recipient field checks the typed address against the wallet's own send
history through a new `has_sent_to` wasm method. A known address gets a green
border and "You have sent to this address before"; an address this wallet has
never paid gets an amber border and a caution to check it carefully. Matching
is by the whole encoded address: a Unified Address only counts as known when
that exact address was paid before, so an address that shares one receiver
with a known recipient but pays another cannot pass as known. The same call
rejects malformed addresses, which gives the form real address validation; it
previously only checked that the field was not empty. A wallet failure that is
not about the address leaves the field usable and only withholds the hint.
…n history

The history lists only what the wallet has scanned since its sync start
block, and nothing on the page said so. Someone whose wallet was synced from
a recent block saw a short list and no way to get the rest.

Add a note under the list, also in the empty state, saying that older
transactions need a Full Resync from an earlier block, with a link to the
Account Summary tab where that control lives.

This branch has not been deployed

No deployments
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