zcashd-to-Zebra migration tool proposed
A draft migration tool that moves zcashd block data into Zebra state was shown.
Agenda summary 9
ECC update: Zallet and ZSA review
ECC · Kris
- Most of ECC's work over the past two weeks went into advancing Zallet, and the help documentation was also improved.
- Zewif integration continues.
- Daira Emma and Str4d put a lot of effort into reviewing QEDIT's ZSA PRs.
Zaino update
Zingo Labs · Arlo, Alfredo
- The past two weeks centered on finishing grant Milestone 3 to release payment, and it is nearly done.
- A reviewable PR for the JSON RPC server is up and will be merged within a few days, and the read state service backend is due to land next week.
- After that the team will handle Zaino issues and rework some parts for consumers such as Zallet.
- When Alfredo asked whether the blocker for Zallet is that Zaino does not provide full blocks, Arlo answered that it does provide full blocks but cannot correctly construct the block ranges Zallet uses, and that some lower levels must be reworked.
zcashd retirement (Z3): RPC checklist and block explorer
Zcash Foundation, Zingo Labs · Pacu, Arlo, Daira Emma, Alfredo
- Because this call overlaps with the weekly Thursday retirement meeting, Pacu set aside time to share retirement news; the retirement project has recently also been called Zcash Z3.
- Once the JSON RPC lands in Zaino, work will begin on Zaino and Zebra support for the old Nighthawk block explorer.
- A spreadsheet of the complete list of RPCs, surveyed across block explorers, mining pools and exchanges, was published, and anyone using an RPC not on the list was asked to get in touch and answer the survey.
- When Arlo asked whether Nighthawk needs the getblocksubsidy RPC, which was not on the list, Daira Emma answered that it has almost nothing to do with chain state but is useful because subsidy calculation is hard.
- Alfredo proposed consolidating the forks in the zcash organization's Zcash Explorer repository, and building a basic version that drops missing features and connects to Zaino.
Migration tool from zcashd to Zebra and Zallet OpenRPC
ECC · Str4d, Alfredo, Pacu
- The latest zcashd forces a retirement notice at startup, and an official URL explaining the retirement now exists, with requests for what should go on it.
- Str4d made an initial working example as PR 9472 that converts a local zcashd's block data into Zebra state instead of syncing from scratch.
- This conversion appears to need LevelDB support in Zebra, so a separate helper tool next to the Zebra repository may be appropriate, and Marek suggested zebra-utils.
- OpenRPC support was added to Zallet so it returns the JSON RPC schema, which can be used for client code generation or exploring changes.
- Alfredo said they would like to apply something similar to Zebra.
Zcash Shielded Assets (ZSA) update
QEDIT · Vivek
- The ZIPs PR that was open last time was merged, and the new PR 1009 is only a rearrangement of one section with no major changes.
- ECC is reviewing the implementation changes; the sinsemilla crate change was merged, and Halo 2 is awaiting review again after addressing Str4d's request.
- Orchard is under discussion with ECC after an informal review, and QEDIT has caught up with upstream changes.
- librustzcash has incorporated the ZIP changes, but catching up with the latest upstream changes remains.
- Zebra has incorporated most of the ZIP changes and is syncing via internal PRs with ZF, and an upstream PR can be opened soon.
- The Zcash transaction tool improved its CI and scenario-writing ability and can now test issuance, transfer, burn and finalization.
NSM update
Shielded Labs · Mark, Alfredo
- With the NU7 and v6 transaction variant PRs merged, the rebased ZIP 233, 234 and 235 PRs are much smaller and easier to review.
- The merge order is the librustzcash PR first and then the Zebra PR, and the Zcash test vector PR can be merged independently.
- ZIP 233 goes in first, and 234 and 235 are waiting, rebased on main.
- The librustzcash PR needs only a rebase because of a clippy problem, which is something the Shielded Labs side has to do now.
Crosslink update: BFT block payload
Shielded Labs · Andrew, Sam, Alfredo, Mark
- An interface for jumping to a node and following the chain tip was added to the visualization tool.
- BFT blocks now carry a real payload, containing an array of the PoW headers to be finalized.
- They also carry the PoW already stacked on top of the block being finalized, reducing the need for Zebra to track blocks discarded in small forks of the PoW chain.
- Alfredo is working on the Crosslink TLA specification for their own understanding and plans to publish it by the end of this week.
Zebra update
Zcash Foundation · Marek
- Zebra 2.3 will be released soon, with a breaking change: nodes running zebrad in Docker will no longer have the RPC endpoint on by default and must enable it in the configuration.
- The past two weeks focused on RPC work and fixing bugs and mismatches with zcashd for the zcashd retirement.
Open discussion: Zcasher wishlist
Pacu
- Pacu created a forum topic, the Zcasher wishlist, to collect what people would like to have in Zcash.
- The idea is to have people post ideas from simple dashboards to complex features, gauge interest by upvotes, and publish the list on the blog for developers to refer to.
This summary is based on the original meeting notes; check them for exact details.