1.0.0-beta.8 Release (#4135)

* Update changelog for 1.0.0-beta.8

* Bump Zebra crate versions

The tower crates and their dependencies haven't changed,
so their versions don't need to be bumped.

Some Zebra crates haven't changed,
but I bumped all the versions to keep them consistent.

* Explicitly say that we support NU5 testnet 2

* Expand PR #3799 into changelog entries

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
teor 2022-04-19 13:02:17 +10:00 committed by GitHub
parent d79e71e969
commit 75671c53a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 102 additions and 24 deletions

View File

@ -4,6 +4,81 @@ All notable changes to Zebra are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
## [Zebra 1.0.0-beta.8](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.8) - 2022-04-19
Zebra's latest beta completes our work on the NU5 consensus rules. It continues our work on `lightwalletd` RPC methods, and contains some internal CI improvements.
### Added
#### RPCs
- Implement a retry queue for transactions sent via RPCs (#4015)
- Partially implement the `getaddresstxids` RPC method (#4062)
#### State
- Add a transparent address balance index (#3963)
- Add a transparent address UTXO index (#3999)
- Add a transparent address transaction index (#4038)
- Add transparent address indexes to the non-finalized state (#4022)
- Add a query function for transparent address balances (#4097)
### CI
- Create cached state disk image after a successful full sync test (#3986)
### Changed
#### NU5
- Update to new zcash_script V5 API (#3799)
- Update network protocol versions for the second NU5 activation on testnet (#3799)
- Update the consensus branch ID and the second NU5 testnet activation height (#3799)
- Bump database version to trigger testnet rollback (#3799)
#### State
- Store transactions in a separate database index, to improve query speed (#3934)
- Store UTXOs by transaction location rather than transaction hash (#3978)
- Stop storing redundant transparent output fields in the database (#3992)
- Use LZ4 compression for RocksDB (#4027)
- Use Ribbon filters for database index lookups (#4040)
- Tune state database file compaction configuration (#4045)
#### CI
- Put the state version in cached state disk names (#4073)
- Improve mergify merge throughput (#4094, #4120)
- Run cached state rebuilds in main branch (#4107)
- Use GitHub Branch Protection checks instead of Mergify (#4103, #4105)
- Lint and standardize the actions structure (#3940)
#### Rust Dependencies
- Update shared Zcash dependencies for the second NU5 activation on testnet (#3799)
- Disable unused rocksdb compression features (#4082)
- Bump rlimit from 0.7.0 to 0.8.3 (#4051)
#### CI Dependencies
- Bump docker/metadata-action from 3.6.2 to 3.7.0 (#4049)
- Bump google-github-actions/auth from 0.6.0 to 0.7.0 (#4050)
- Bump tj-actions/changed-files from 18.6 to 18.7 (#4065)
- Bump reviewdog/action-actionlint from 1.21.0 to 1.23.0 (#4099, #4125)
- Bump actions/checkout from 3.0.0 to 3.0.1 (#4126)
### Fixed
#### CI
- Validate tests exit code after reading the container logs (#3968, #4069)
- Give enough time to zebra before reading logs (#4123)
#### Rust Clippy
- Ignore clippy drop warnings in tests (#4081)
## [Zebra 1.0.0-beta.7](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.7) - 2022-04-05 ## [Zebra 1.0.0-beta.7](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.7) - 2022-04-05
Zebra's latest beta fixes a `cargo install` build failure in the previous beta release. It also fixes a `lightwalletd` RPC bug, and improves test coverage. Zebra's latest beta fixes a `cargo install` build failure in the previous beta release. It also fixes a `lightwalletd` RPC bug, and improves test coverage.

20
Cargo.lock generated
View File

@ -5778,7 +5778,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-chain" name = "zebra-chain"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"aes", "aes",
"bech32", "bech32",
@ -5838,7 +5838,7 @@ version = "1.0.0-beta.0"
[[package]] [[package]]
name = "zebra-consensus" name = "zebra-consensus"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"bellman", "bellman",
"blake2b_simd 1.0.0", "blake2b_simd 1.0.0",
@ -5880,7 +5880,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-network" name = "zebra-network"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"arti-client", "arti-client",
"bitflags", "bitflags",
@ -5915,14 +5915,14 @@ dependencies = [
[[package]] [[package]]
name = "zebra-node-services" name = "zebra-node-services"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"zebra-chain", "zebra-chain",
] ]
[[package]] [[package]]
name = "zebra-rpc" name = "zebra-rpc"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"chrono", "chrono",
"futures", "futures",
@ -5950,7 +5950,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-script" name = "zebra-script"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"displaydoc", "displaydoc",
"hex", "hex",
@ -5963,7 +5963,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-state" name = "zebra-state"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"bincode", "bincode",
"chrono", "chrono",
@ -5998,7 +5998,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-test" name = "zebra-test"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"color-eyre 0.5.11", "color-eyre 0.5.11",
"futures", "futures",
@ -6022,7 +6022,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-utils" name = "zebra-utils"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"color-eyre 0.6.1", "color-eyre 0.6.1",
"hex", "hex",
@ -6037,7 +6037,7 @@ dependencies = [
[[package]] [[package]]
name = "zebrad" name = "zebrad"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
dependencies = [ dependencies = [
"abscissa_core", "abscissa_core",
"atty", "atty",

View File

@ -81,7 +81,10 @@ and Zebra implements all the features required to reach Zcash network consensus.
The goals of the beta release series are for Zebra to act as a fully validating Zcash node, The goals of the beta release series are for Zebra to act as a fully validating Zcash node,
for all active consensus rules as of NU5 activation. for all active consensus rules as of NU5 activation.
Currently, Zebra validates all of the documented Zcash consensus rules, but it may not validate any: Currently, Zebra validates all of the Zcash consensus rules for the NU5 network upgrade.
(As of the second NU5 activation on testnet.)
But it may not validate any:
- Undocumented rules derived from Bitcoin - Undocumented rules derived from Bitcoin
- Undocumented network protocol requirements - Undocumented network protocol requirements
@ -100,7 +103,7 @@ for your platform:
2. Install Zebra's build dependencies: 2. Install Zebra's build dependencies:
- **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager - **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager
- **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC` - **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC`
3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.7 zebrad` 3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.8 zebrad`
4. Run `zebrad start` (see [Running Zebra](https://zebra.zfnd.org/user/run.html) for more information) 4. Run `zebrad start` (see [Running Zebra](https://zebra.zfnd.org/user/run.html) for more information)
If you're interested in testing out `zebrad` please feel free, but keep in mind If you're interested in testing out `zebrad` please feel free, but keep in mind

View File

@ -9,7 +9,7 @@ for your platform:
2. Install Zebra's build dependencies: 2. Install Zebra's build dependencies:
- **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager - **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager
- **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC` - **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC`
3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.7 zebrad` 3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.8 zebrad`
4. Run `zebrad start` (see [Running Zebra](user/run.md) for more information) 4. Run `zebrad start` (see [Running Zebra](user/run.md) for more information)
If you're interested in testing out `zebrad` please feel free, but keep in mind If you're interested in testing out `zebrad` please feel free, but keep in mind

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-chain" name = "zebra-chain"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-consensus" name = "zebra-consensus"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-network" name = "zebra-network"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -231,7 +231,7 @@ pub const TIMESTAMP_TRUNCATION_SECONDS: u32 = 30 * 60;
/// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki /// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki
// //
// TODO: generate this from crate metadata (#2375) // TODO: generate this from crate metadata (#2375)
pub const USER_AGENT: &str = "/Zebra:1.0.0-beta.7/"; pub const USER_AGENT: &str = "/Zebra:1.0.0-beta.8/";
/// The Zcash network protocol version implemented by this crate, and advertised /// The Zcash network protocol version implemented by this crate, and advertised
/// during connection setup. /// during connection setup.

View File

@ -2,7 +2,7 @@
name = "zebra-node-services" name = "zebra-node-services"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
edition = "2021" edition = "2021"
repository = "https://github.com/ZcashFoundation/zebra" repository = "https://github.com/ZcashFoundation/zebra"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-rpc" name = "zebra-rpc"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-script" name = "zebra-script"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-state" name = "zebra-state"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-test" name = "zebra-test"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -2,7 +2,7 @@
name = "zebra-utils" name = "zebra-utils"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
edition = "2021" edition = "2021"
# Prevent accidental publication of this utility crate. # Prevent accidental publication of this utility crate.
publish = false publish = false

View File

@ -2,7 +2,7 @@
name = "zebrad" name = "zebrad"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "1.0.0-beta.7" version = "1.0.0-beta.8"
edition = "2021" edition = "2021"
repository = "https://github.com/ZcashFoundation/zebra" repository = "https://github.com/ZcashFoundation/zebra"
# make `cargo run` use `zebrad` by default # make `cargo run` use `zebrad` by default