Skip to content

Zebra 1.0.0-rc.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Dec 21:37
cc6ff0f

Zebra's latest release continues work on mining pool RPCs, fixes a rare RPC crash that could lead to memory corruption, and uses the ZIP-317 conventional fee for mempool size limits.

Zebra's consensus rules, node sync, and lightwalletd RPCs are ready for user testing and experimental use. Zebra has not been audited yet.

Breaking Changes

This release has the following breaking changes:

  • Evict transactions from the mempool using the ZIP-317 conventional fee (#5703)
    • If there are a lot of unmined transactions on the Zcash network, and Zebra's mempool
      becomes full, Zebra will penalise transactions that don't pay at least the ZIP-317
      conventional fee. These transactions will be more likely to get evicted.
    • The ZIP-317 convention fee increases based on the number of logical transparent or
      shielded actions in a transaction.
    • This change has no impact under normal network conditions.

Security

  • Fix a rare crash and memory errors when Zebra's RPC server shuts down (#5591)
  • Evict transactions from the mempool using the ZIP-317 conventional fee (#5703)

Added

  • Add submitblock RPC method (#5526)
  • Add a mining section with miner address to config (#5491)

Changed

  • Select getblocktemplate RPC transactions according to ZIP-317 (#5724)
  • Add transaction fields to the getblocktemplate RPC (#5496 and #5508)
  • Populate some getblocktemplate RPC block header fields using the state best chain tip (#5659)
  • Return an error from getblocktemplate method if Zebra is not synced to network tip (#5623)
  • Implement coinbase conversion to RPC TransactionTemplate type (#5554)
  • Check block and transaction Sprout anchors in parallel (#5742)
  • Contextually validates mempool transactions in best chain (#5716 and #5616)
  • Generate coinbase transactions in the getblocktemplate RPC (#5580)
  • Log loaded config path when Zebra starts up (#5733)
  • Update mainnet and testnet checkpoints on 2022-12-01 (#5754)
  • Bump zcash_proofs from 0.8.0 to 0.9.0 and zcash_primitives from 0.8.1 to 0.9.0 (#5631)

Fixed

  • Check network and P2SH addresses for mining config and funding streams(#5620)
  • Return an error instead of panicking in the batch verifier on shutdown (#5530)
  • Use a more reliable release template branch name and docker command (#5519)
  • Make the syncer ignore some new block verification errors (#5537)
  • Pause new downloads when Zebra reaches the lookahead limit (#5561)
  • Shut down the RPC server properly when Zebra shuts down (#5591)
  • Print usage info for --help flag (#5634)
  • Fix RPC bugs (#5761)
  • Clarify inbound and outbound port requirements (#5584)

Contributors

Thank you to everyone who contributed to this release, we couldn't make Zebra without you:
@arya2, @oxarbitrage, @teor2345, and @mpguerra