diff --git a/CHANGELOG.md b/CHANGELOG.md index 8853deb25..1cff0ba34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,85 @@ 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). +## [Zebra 1.0.0-beta.9](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.9) - 2022-05-06 + +Zebra's latest beta continues our work on `lightwalletd` RPC methods, and contains some internal CI improvements. + +### Added + +#### RPCs + +- Add a script for comparing zcashd and zebrad RPC responses (#4219) +- Add Rust tests for lightwalletd sync from Zebra (#4177) +- Add integration test to send transactions using lightwalletd (#4068) +- RPC test with fully synced Zebra (#4157) +- Log unrecognized RPC requests (#3860) +- Implement the `get_address_tx_ids` RPC method query (#4119) +- Implement `getaddressbalance` RPC (#4138) +- Add a query function for transparent UTXOs (#4111) + +#### CI + +- Add `sending_transactions_using_lightwalletd` test to CI (#4267) +- Add a `zebrad tip-height` utility command (#4289) +- Add `fully_synced_rpc_test` test to CI (#4223) +- Add a reusable workflow for deployable integration tests (#4271) +- Add wallet grpc tests (#4253) +- Implement reusable workflows for image building (#4173) +- Implement `getaddressutxos` RPC method. (#4087) + + +### Changed + +- Increase block validation timeouts (#4156) +- Decrease the peer handshake timeout to 3 seconds, to speed up the initial sync (#4212) +- Use link-time optimisation in release builds (#4184) +- Add an extra block retry, to speed up the initial sync (#4185) +- Update Zebra's block hash checkpoints (#4183) +- Document coinbase rules, refactor to ease understanding (#4056) +- Disconnect from testnet peers using the first NU5 testnet rules (#3976) + +#### RPCs + +- Simplify RPC types and add documentation (#4218) + +#### Documentation + +- Add transaction index diagram to RFC-0005 (#4330) + +#### CI + +- Skip tests when doing a manual full sync (#4333) +- Add cached state version to disk images (#4314) +- Check specific files for each job when linting (#4311) +- Use debian for faster mounting and bump readiness time (#4276) +- Use docker instead of Konlet for GCP deployments in CI (#4252) +- Create a full sync disk to add the cached state inside (#4266) +- Increase the Zcash parameter fetch timeout (#4148) + +### Fixed + +- Fix testnet syncer loop on large Orchard blocks (#4286) + +#### RPCs + +- Fix some RPC response formats to match `zcashd` (#4217) +- Make Zebra RPC compatible with the `zcash-cli` RPC client (#4215) +- Use a structure for parameters of getaddresstxids (#4264) + +#### CI + +- Only update cached states when needed (#4332) +- Run sync tests according to the right conditions (#4313) +- Stop actionlint from failing in main (#4317) +- Make the full sync tests cache state at `/zebrad-cache` (#4308) +- Avoid docker cache contamination and invalidation (#4254) +- Garbage collect instances no matter previous steps status (#4255) +- Do not delete instances from `main` branch on merge (#4206) +- Retry after docker log follow ssh failures (#4198) +- Share GitHub runner caches between branches (#4149) + + ## [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. diff --git a/Cargo.lock b/Cargo.lock index 0ba8a006f..31e54ef9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5217,7 +5217,7 @@ dependencies = [ [[package]] name = "tower-batch" -version = "0.2.23" +version = "0.2.24" dependencies = [ "color-eyre 0.6.1", "ed25519-zebra", @@ -5237,7 +5237,7 @@ dependencies = [ [[package]] name = "tower-fallback" -version = "0.2.19" +version = "0.2.20" dependencies = [ "futures-core", "pin-project 0.4.29", @@ -6047,7 +6047,7 @@ dependencies = [ [[package]] name = "zebra-chain" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "aes", "bech32", @@ -6107,7 +6107,7 @@ version = "1.0.0-beta.0" [[package]] name = "zebra-consensus" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "bellman", "blake2b_simd 1.0.0", @@ -6149,7 +6149,7 @@ dependencies = [ [[package]] name = "zebra-network" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "arti-client", "bitflags", @@ -6184,14 +6184,14 @@ dependencies = [ [[package]] name = "zebra-node-services" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "zebra-chain", ] [[package]] name = "zebra-rpc" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "chrono", "futures", @@ -6219,7 +6219,7 @@ dependencies = [ [[package]] name = "zebra-script" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "displaydoc", "hex", @@ -6232,7 +6232,7 @@ dependencies = [ [[package]] name = "zebra-state" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "bincode", "chrono", @@ -6267,7 +6267,7 @@ dependencies = [ [[package]] name = "zebra-test" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "color-eyre 0.5.11", "futures", @@ -6292,7 +6292,7 @@ dependencies = [ [[package]] name = "zebra-utils" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "color-eyre 0.6.1", "hex", @@ -6307,7 +6307,7 @@ dependencies = [ [[package]] name = "zebrad" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" dependencies = [ "abscissa_core", "atty", diff --git a/README.md b/README.md index d3d53d8da..f550a2aae 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ for your platform: 2. Install Zebra's build dependencies: - **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager - **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.8 zebrad` +3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.9 zebrad` 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 diff --git a/book/src/user/install.md b/book/src/user/install.md index 966ec8b18..ebf758861 100644 --- a/book/src/user/install.md +++ b/book/src/user/install.md @@ -9,7 +9,7 @@ for your platform: 2. Install Zebra's build dependencies: - **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager - **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.8 zebrad` +3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.9 zebrad` 4. Run `zebrad start` (see [Running Zebra](run.md) for more information) If you're interested in testing out `zebrad` please feel free, but keep in mind diff --git a/tower-batch/Cargo.toml b/tower-batch/Cargo.toml index 7e2247251..0ee92277d 100644 --- a/tower-batch/Cargo.toml +++ b/tower-batch/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tower-batch" -version = "0.2.23" +version = "0.2.24" authors = ["Zcash Foundation "] license = "MIT" edition = "2021" diff --git a/tower-fallback/Cargo.toml b/tower-fallback/Cargo.toml index 39c510a32..2cffdb106 100644 --- a/tower-fallback/Cargo.toml +++ b/tower-fallback/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tower-fallback" -version = "0.2.19" +version = "0.2.20" authors = ["Zcash Foundation "] license = "MIT" edition = "2021" diff --git a/zebra-chain/Cargo.toml b/zebra-chain/Cargo.toml index 8319822b5..52f789807 100644 --- a/zebra-chain/Cargo.toml +++ b/zebra-chain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-chain" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2021" diff --git a/zebra-consensus/Cargo.toml b/zebra-consensus/Cargo.toml index 1180c9c09..72ee6f0c8 100644 --- a/zebra-consensus/Cargo.toml +++ b/zebra-consensus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-consensus" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2021" diff --git a/zebra-network/Cargo.toml b/zebra-network/Cargo.toml index bccec7e11..4bd55018e 100644 --- a/zebra-network/Cargo.toml +++ b/zebra-network/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-network" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2021" diff --git a/zebra-network/src/constants.rs b/zebra-network/src/constants.rs index 60448d643..eb6330230 100644 --- a/zebra-network/src/constants.rs +++ b/zebra-network/src/constants.rs @@ -239,7 +239,7 @@ pub const TIMESTAMP_TRUNCATION_SECONDS: u32 = 30 * 60; /// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki // // TODO: generate this from crate metadata (#2375) -pub const USER_AGENT: &str = "/Zebra:1.0.0-beta.8/"; +pub const USER_AGENT: &str = "/Zebra:1.0.0-beta.9/"; /// The Zcash network protocol version implemented by this crate, and advertised /// during connection setup. diff --git a/zebra-node-services/Cargo.toml b/zebra-node-services/Cargo.toml index 36273cc38..17eaa0a0d 100644 --- a/zebra-node-services/Cargo.toml +++ b/zebra-node-services/Cargo.toml @@ -2,7 +2,7 @@ name = "zebra-node-services" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" edition = "2021" repository = "https://github.com/ZcashFoundation/zebra" diff --git a/zebra-rpc/Cargo.toml b/zebra-rpc/Cargo.toml index 108727fc5..aebbbb991 100644 --- a/zebra-rpc/Cargo.toml +++ b/zebra-rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-rpc" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2021" diff --git a/zebra-script/Cargo.toml b/zebra-script/Cargo.toml index 4e219ab67..e9b834048 100644 --- a/zebra-script/Cargo.toml +++ b/zebra-script/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-script" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2021" diff --git a/zebra-state/Cargo.toml b/zebra-state/Cargo.toml index 8f4b23326..2d072ac96 100644 --- a/zebra-state/Cargo.toml +++ b/zebra-state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-state" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2021" diff --git a/zebra-test/Cargo.toml b/zebra-test/Cargo.toml index 6ee891252..d152fd187 100644 --- a/zebra-test/Cargo.toml +++ b/zebra-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-test" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2021" diff --git a/zebra-utils/Cargo.toml b/zebra-utils/Cargo.toml index bba7e829c..8fbe56c5e 100644 --- a/zebra-utils/Cargo.toml +++ b/zebra-utils/Cargo.toml @@ -2,7 +2,7 @@ name = "zebra-utils" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" edition = "2021" # Prevent accidental publication of this utility crate. publish = false diff --git a/zebrad/Cargo.toml b/zebrad/Cargo.toml index 5f8f359b8..3fa14cd6d 100644 --- a/zebrad/Cargo.toml +++ b/zebrad/Cargo.toml @@ -2,7 +2,7 @@ name = "zebrad" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" -version = "1.0.0-beta.8" +version = "1.0.0-beta.9" edition = "2021" repository = "https://github.com/ZcashFoundation/zebra" # make `cargo run` use `zebrad` by default