← All calls
ARBORIST#40

FROST final review and SDK unified addresses

The IRTF's FROST specification entered final review, and the mobile SDK will support unified addresses first.

Agenda summary 4

  1. Zebra update - getblocktemplate and CI

    Zcash Foundation · Deirdre

    • The team keeps improving the related RPCs so miners receive a getblocktemplate filled with more data. submitblock was also merged, so submitting a filled template checks whether it passes the consensus validation every block goes through.
    • Long-running integration tests and cached lightwalletd server tests run on Google Cloud. The team worked on reducing CI bugs that failed spuriously because of SSH delays and connections when repeatedly creating VMs and containers.
    • Work on the API continues to make it more useful for miners, and it has been quiet because some team members are on vacation.
  2. Mobile SDK and zcashd update

    Electric Coin Company · Daira, Str4d

    • The Zcash Rust crate release included support for the proportional fee ZIP 317, but it is inactive and will be turned on in a later point release. Str4d said this mobile SDK release will not have ZIP 317 and it will come in the release after.
    • The biggest change in this SDK is unified address support. At first only Transparent and Sapling UAs come out, and the DB and spending key logic will follow with new UAs once Orchard support is added.
    • The mobile SDK was aligned to the same revision as the core Rust crates, clearing an obstacle to performance improvements. Most of the groundwork needed for DAGSync is in this release, and DAGSync implementation has also begun.
    • As a short-term mitigation for the sandblasting, the team is looking at whether some DAGSync components can be applied first. However, it must weigh the cost of building a separate system against the main DAGSync work.
    • zcashd fixed an assertion failure related to Orchard wallet resync that occurred at the same point on restart. A change was also included that pushes block headers down to LevelDB, cutting virtual memory by up to 2.3GB.
    • Transaction builder changes in preparation for ZIP 317 went into zcashd. Halo 2 recursion paused briefly because Ying Tong is away.
  3. ZKProof conference - PLONKish standardization

    Daira, Str4d, Deirdre

    • At the workshop of the 5th zkproof.org conference, Daira discussed the standardization of PLONK-family systems including Halo 2. Ying Tong also attended and represented ECC's position.
    • If there is agreement on a specification of the PLONK architecture, the Halo 2 stack can interoperate with the ecosystem. Str4d said that since there is no trusted setup, upgrading Orchard circuits is also easy, and they could be changed if there are interoperability benefits such as GPU proving.
    • Daira also cited being able to share security analysis with other projects. When Deirdre asked whether PLONKish and R1CS arithmetizations are formalized, they answered that formalizing the general statement of what is being proven is the challenge.
  4. FROST threshold signatures - IRTF final review

    Zcash Foundation · Deirdre, Str4d, Daira

    • The IRTF's FROST threshold Schnorr signature specification entered last call, with about two weeks for collecting comments. Deirdre asked people who think it is good to leave messages of support on the CFRG mailing list.
    • Str4d said that if adopted, it becomes easier to persuade hardware implementations and real-world use becomes more likely. The document (version 11) has cipher suites for Schnorr signatures such as ed25519, secp256k1 and P-256.
    • The Foundation's main cipher suite is ristretto, a prime-order group construction over the same curve as ed25519. For ed448 there is no suitable Rust implementation, so it could not implement it itself.
    • The Pasta curves have no document at the IETF so they could not go into the draft, and the reddsa re-randomization construction for Zcash is covered in a ZIP draft that has not yet been submitted to the repository.
    • The Foundation implemented in Rust all cipher suites except ed448 to the specification. Thanks to the generic FROST core, a new suite can be made in about 300 lines, and Conrado can even make one in a day.
    • GPU proving is not currently used. The team is watching developments such as the ECGPU crate from Filecoin developers and plans to integrate in the long term.

This summary is based on the original meeting notes; check them for exact details.