← All calls
ARBORIST#105

Zebra 2.4 DB upgrade announced

With the Zebra 2.4 release announced, backing up state was advised because of the DB upgrade.

Agenda summary 5

  1. Zebra update: Zebra 2.4 release announced

    Zcash Foundation · Conrado

    • Fields related to Sprout and Sapling transactions were added to the getrawtransaction RPC, in a PR sent by a contributor.
    • Zebra's gRPC interface now returns not only the main chain but also side chains that were once active.
    • The Prometheus metrics feature, which had to be turned on explicitly, will be on by default given its usefulness.
    • Zebra 2.4 will be released today or tomorrow, mostly RPC and general feature changes, and it includes a database upgrade.
    • Going back to an older version after upgrading requires syncing again from scratch, so state should be backed up to prepare for a rollback.
    • After the release the team plans to work through accumulated issues and investigate the recent performance regression that lengthened node sync time.
  2. Zingo Labs: Zaino update

    Zingo Labs · Zar

    • Zaino's representation of non-finalized and finalized state is nearly complete and can soon be used by Zallet and others; integration is expected to finish within a week or two.
    • Following Vale's point that internal and public types are not well separated, errors will be provided as public enums without non-exhaustive fields and internal dependencies will be hidden.
    • Zaino sits at the very bottom of the ecosystem and Zallet is its first real user, so this is a good time to invest in the improvement.
    • To do this work while keeping the schedule, the team plans to expand its ZCG grant application to increase development time.
    • Because of the error-handling redesign, some Zaino RPC implementations are slightly delayed.
    • The team proposed a protocol for resolving mutual mismatches, in which each team keeps a contract such as a weekly branch, tests against other teams' projects too, and reports issues immediately.
  3. NSM update: PR review delay

    Shielded Labs · Mark

    • They are still blocked on PR review, and the responsible ECC engineers are traveling, so the answer was next week at the earliest.
    • The security audit, which had been waiting after a long delay, also had to be rescheduled.
  4. Crosslink update: offline test format

    Shielded Labs · Sam, Andrew, Mark

    • Focusing recently on testing, the team built offline tests that inject data that would come from the network into a node, without a network connection, and observe acceptance, rejection and state.
    • Data in a format that can be read from disk or generated is fed to the program as input; when a test fails, you can tell at which command it diverged from expectations, and you can open the state in a visualization tool.
    • The format is simple binary, chosen to handle the byte data received from the network, and malformed or malicious data, as is.
    • A short header gives the number of commands, followed by commands that load arbitrary byte blocks, PoW blocks and BFT blocks.
    • Being byte-based, it is not at the mercy of Rust type changes, tests survive as long as serialization stays the same, and with no network connection tests are fast and free of race-condition flakiness.
    • Data goes in through the same path as the real code, and malicious inputs are easy to create.
  5. Public announcement: new Zingo wallet release

    Zingo Labs · Zar

    • Zingo will soon ship a new wallet version for the first time in months.
    • On several benchmarks it appears to be the fastest-syncing Zcash wallet, and the team said it is verifying reproduction with other datasets and multiple testers.

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