NU7 ZIP draft deadline nears
Ahead of the NU7 ZIP draft deadline, a scaled-down NSM proposal and a Sprout deactivation proposal emerged.
Agenda summary 11
ECC and ZF NU6 status
ECC, Zcash Foundation · Daira Emma, Str4d, Alfredo
- NU6 is going smoothly: Daira Emma opened a PR finalizing the specification, and the Least Authority audit report was published.
- By Str4d's DNS seeder, about 30 nodes are NU6-compatible and about 50 are not.
- The old-version EOS halt is next Tuesday, and they expected updates to 6.0.0 to rush in.
- Zebra released 2.0.1 containing the mainnet activation height, and documented in the Zebra book the results of a private testnet run with ECC.
- Wallets that depend on the latest mobile SDK crates, such as Zashi, Edge and Unstoppable, are compatible with NU6.
- Str4d explained that a good node is one that supports the current protocol version, is reachable on the default port 8232, is on the same chain, and has uptime.
Zebra update: Zebra 2.0.1
Zcash Foundation · Alfredo
- They added a cookie authentication method to RPC and released the 2.0 stable release with the new activation height.
- Because of some packaging configuration mistakes they had to release patch 2.0.1; 2.0.1 must be used to get past the NU6 mainnet activation, and 2.0.0 panics.
- They fixed a size metric bug at Zebrad startup and shutdown.
- Merging external contributions keeps failing in CI and Gustavo is fixing it, and a PR that Zaino submitted and approved is blocked by this.
- Arya finished implementing the getblock-related RPCs, and Conrado is widening the supported scope of the getblock RPC, which has many options.
- The Zebra RPC framework is being refactored onto a crate that is no longer deprecated, and the user-facing API stays the same.
ECC update: PCZT and Zallet
ECC · Str4d, Daira Emma
- For the past two weeks they focused on ZIP support for the NU7 activation path, Zashi bug fixes, and a first implementation of SDK note management that splits change outputs into multiple notes.
- PCZT is a partially created Zcash transaction format corresponding to Bitcoin's PSBT, intended for interoperability between hardware wallets and service providers.
- The draft structure needs more fields, and the next task is choosing the encoding.
- They are also refactoring the transaction builder to work with PCZT.
- The temporary name for the zcashd wallet replacement is Zallet.
- For now an initial binary with only localization and a command skeleton is up in wallet repository PR 8, and the next step is to connect the wallet backend to external RPC to empirically learn the needed support scope.
zcashd deprecation update
ECC · Str4d, Pacu
- Str4d aims to integrate the Zallet binary into the existing Python RPC test framework so that the existing test suite runs with a combination of Zebra, a temporary lightwalletd and Zallet.
- This is a key step for checking that nothing is missing.
- Pacu keeps contacting partners who run nodes, and met a new partner through Redbridge's Kit.
- They are collecting requirements for explorers of Ethereum-family chains such as Avalanche to support Zcash.
- Saying that the launch of Red Bridge, which connects Avalanche and Zcash, is near, they asked anyone with contacts or business relationships to tell Pacu, Pili or Dan.
Zcash Shielded Assets (ZSA) update
QEDIT, ECC · Daira Emma, Str4d, Arya
- Daira Emma reported that in a meeting with QEDIT they discussed ZSA fees in four categories: new asset creation, issuance, burning and transfer.
- Transfers are indistinguishable from Orchard transfers so they must have the same fee, and issuance and burning need not be higher for spam prevention.
- Creating a new asset should be high, but they considered QEDIT's proposal of 5,000 times the marginal fee somewhat high, and 500 to 2,000 times appropriate.
- They discussed an option of including action groups in the v6 format but leaving them off, then turning them on later just by lifting a restriction.
- QEDIT will check whether it can be specified before the NU7 ZIP deadline, and the ZSA circuit audit is to start next week.
- Of Zebra's 5 ZSA implementation PRs, the first 2 have been reviewed and the other 3 will be reviewed soon.
FROST update
Conrado, Str4d
- They released the final FROST 2.0.0, and useful functions such as finding signature shares individually are exposed in the API.
- Conrado is tidying up the BIP-340 (taproot) signature support PR submitted by external contributors and will merge it soon, and it can be used as the signature protecting ZSA issuance.
- Cryptographic authentication for the server is done, and work on bringing it to production level will resume soon.
- Str4d asked whether PCZT can also be used for transparent FROST multisignatures.
- It is difficult because the transparent side supports only ECDSA and not Schnorr, but the point that all the information to be signed must be extractable is the same as for hardware signers.
NSM update: alternative proposals
Shielded Labs · Jason McGee, Daira Emma
- Jason McGee posted an NSM update and FAQ on the forum, and presented alternatives addressing concerns about exceeding NU7's complexity budget and the lack of consensus on ZIP 235.
- One alternative is to put only the voluntary burning of ZIP 233 into NU7 on its own, and the transaction format change can be made together with ZSA.
- The other is to first test ZIP 235's 60% fee burn as a default or opt-in setting in node software.
- They proposed deferring the ZIP 234 issuance curve flattening to leave time for community discussion.
- Daira Emma replied that it is technically possible and that miners would do it voluntarily.
Technical discussion of NSM fee burning and issuance approach
Str4d, Daira Emma, Zooko
- Str4d pointed out that ZIP 317 fees are not enforced as a consensus rule so miners can bypass them, and that burned fees have the same structure.
- Daira Emma added that if fees are too low, miners have no incentive to include transactions.
- Str4d proposed an approach that keeps the halving structure without flattening and computes the issuance in proportion to the amount already issued.
- Zooko said it is hard to understand and asked for documentation, and Daira Emma and Str4d agreed to write an explanation of the NSM issuance approach.
Crosslink first deployment update
Shielded Labs · Daira Emma, Zooko, Nate, Alfredo
- Daira Emma said a low-latency simplified Crosslink security proof is complete, and they plan to open a PR to the TFL book early next week.
- Zooko said they received a lot of very high-quality feedback on the first deployment scope, and that there appears to be broad agreement on what most people want.
- Zooko said they will finalize the scope with feedback incorporated by the next call on the 14th, and the scope document is in the crosslink-deployment repository.
- When Alfredo asked about environmental friendliness and why PoW is kept, Daira Emma answered that a hybrid is safe because it does not greatly change the node and wallet architecture.
- Daira Emma said the plan for environmental benefits is to get them in the long term by replacing PoW with something like PoSAT.
- Nate laid out the order of hiring and scoping, then modifying Zebra to build a prototype, implementing a possibly unsafe system first and then improving the design.
Public announcements: NSM Twitter Space and NU6 guidance for wallet developers
Jason McGee, Pacu
- Zooko, Nate and Jason McGee are holding a Twitter Space on NSM on November 5 at 18:00 UTC.
- Kris will attend, and they also asked other engineers, including from ZF, to take part.
- Pacu urged wallet developers ahead of NU6 to update to the latest ECC SDK, and if they do not use the SDK, to match NU6's consensus branch ID and keep the librustzcash crates up to date.
Open discussion: NU7 draft ZIP deadline and Sprout deprecation
ECC · Str4d, Daira Emma
- The NU7 draft ZIPs must be semantically stable by November 5, and the v6 transaction format and sighash will be finalized after the deadline.
- Daira Emma's ZIP (927) bans v4 transactions from NU7, effectively disabling Sprout.
- Since zcashd cannot follow NU7, the Sprout-to-Sapling migration tool stops, so in effect the zcashd deprecation is the deadline for withdrawing Sprout funds.
- This ZIP freezes Sprout funds rather than reclaiming them, and whether to turn them into unissued funds in NSM can be decided separately later.
- Another ZIP by Daira Emma (919) makes the v6 fee field explicit.
- Str4d's memo bundle ZIP provides a memo bundle and memo keys instead of a 512-byte memo per output, enabling variable-size memos up to 10KB, memo sharing across multiple outputs, and memos in transparent transactions.
This summary is based on the original meeting notes; check them for exact details.