Skip to content

Add the Zano migration design doc - #19

Open
j0ntz wants to merge 2 commits into
mainfrom
jon/zano-migration-tdd
Open

Add the Zano migration design doc#19
j0ntz wants to merge 2 commits into
mainfrom
jon/zano-migration-tdd

Conversation

@j0ntz

@j0ntz j0ntz commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Technical Design Document

zano-migration-off-module-queue.md

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Docs only.

Description

Adds the technical design document for the Zano native-module-queue migration, updated to describe what actually ships in #18 and EdgeApp/edge-currency-accountbased#1092.

The document was written across the seven investigation phases that produced #17 and #1090, and until now it existed only on that branch. Those two PRs are closed in favour of Matt's pair, so without this the design record disappears with the branch, along with every link to it from the task, the run reports, and the PR bodies.

Section 8's phase 8 covers what changed in the rebuild: the persistence strategy (the synced-branch store alone never fires for a wallet weeks behind, so checkpointCatchup cycles the wallet to force a write mid-scan), the mempool sweep moving after the paging loop, the HF6 payment-id handling, and the AddressInfo correction. Sections 5, 6, 9, and 11 are updated to match the shipping code rather than the first round.

Open items are recorded rather than smoothed over: the checkpointCatchup race with an in-flight broadcastTx, the redundant offset-zero fetch, and runWallet being private while postponed-run makes it mandatory for every open.

Testing

No code changes. Markdown links and anchors checked against the section headings.

The wallet status' two height fields are not in the same units, so a synced
wallet reported one block past the chain and every confirmation read one
high. Section 6 gains the conversion, Testing gains the unit and in-app
coverage plus the explorer's own convention, and the phase history gains
the phase.
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