Bump versions for v1.0.0-alpha.5 (#1932)

Zebra's latest alpha checkpoints on Canopy activation, continues our work on NU5, and fixes a security issue.

Some notable changes include:

## Added
- Log address book metrics when PeerSet or CandidateSet don't have many peers (#1906)
- Document test coverage workflow (#1919)
- Add a final job to CI, so we can easily require all the CI jobs to pass (#1927)

## Changed
- Zebra has moved its mandatory checkpoint from Sapling to Canopy (#1898, #1926)
  - This is a breaking change for users that depend on the exact height of the mandatory checkpoint.

## Fixed
- tower-batch: wake waiting workers on close to avoid hangs (#1908)
- Assert that pre-Canopy blocks use checkpointing (#1909)
- Fix CI disk space usage by disabling incremental compilation in coverage builds (#1923)

## Security
- Stop relying on unchecked length fields when preallocating vectors (#1925)
This commit is contained in:
Deirdre Connolly 2021-03-22 22:05:01 -04:00 committed by GitHub
parent c5b1d0deee
commit ca1d2de87d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 22 additions and 22 deletions

16
Cargo.lock generated
View File

@ -3434,7 +3434,7 @@ dependencies = [
[[package]]
name = "tower-batch"
version = "0.2.2"
version = "0.2.3"
dependencies = [
"color-eyre",
"ed25519-zebra",
@ -4031,7 +4031,7 @@ dependencies = [
[[package]]
name = "zebra-chain"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
dependencies = [
"bech32",
"bincode",
@ -4073,7 +4073,7 @@ version = "1.0.0-alpha.0"
[[package]]
name = "zebra-consensus"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
dependencies = [
"bellman",
"bls12_381 0.3.1",
@ -4107,7 +4107,7 @@ dependencies = [
[[package]]
name = "zebra-network"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
dependencies = [
"bitflags",
"byteorder",
@ -4141,7 +4141,7 @@ version = "1.0.0-alpha.0"
[[package]]
name = "zebra-script"
version = "1.0.0-alpha.5"
version = "1.0.0-alpha.6"
dependencies = [
"displaydoc",
"hex",
@ -4154,7 +4154,7 @@ dependencies = [
[[package]]
name = "zebra-state"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
dependencies = [
"chrono",
"color-eyre",
@ -4184,7 +4184,7 @@ dependencies = [
[[package]]
name = "zebra-test"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
dependencies = [
"color-eyre",
"futures 0.3.13",
@ -4221,7 +4221,7 @@ dependencies = [
[[package]]
name = "zebrad"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
dependencies = [
"abscissa_core",
"atty",

View File

@ -35,12 +35,12 @@ Building `zebrad` requires [Rust](https://www.rust-lang.org/tools/install),
#### Detailed Build and Run Instructions
1. Install [`cargo` and `rustc`](https://www.rust-lang.org/tools/install).
1. Install [`cargo` and `rustc`](https://www.rust-lang.org/tools/install).
- Using `rustup` installs the stable Rust toolchain, which `zebrad` targets.
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-alpha.4 zebrad`
3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-alpha.5 zebrad`
4. Run `zebrad start`
If you're interested in testing out `zebrad` please feel free, but keep in mind

View File

@ -1,6 +1,6 @@
[package]
name = "tower-batch"
version = "0.2.2"
version = "0.2.3"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "tower-fallback"
version = "0.2.1"
version = "0.2.2"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-chain"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-consensus"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-network"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -61,7 +61,7 @@ pub const TIMESTAMP_TRUNCATION_SECONDS: i64 = 30 * 60;
///
/// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki
// XXX can we generate this from crate metadata?
pub const USER_AGENT: &str = "/🦓Zebra🦓:1.0.0-alpha.4/";
pub const USER_AGENT: &str = "/🦓Zebra🦓:1.0.0-alpha.5/";
/// The Zcash network protocol version implemented by this crate, and advertised
/// during connection setup.

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-state"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-test"
version = "1.0.0-alpha.4"
version = "1.0.0-alpha.5"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

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

View File

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

View File

@ -77,7 +77,7 @@ impl<A: abscissa_core::Application> Component<A> for Tracing {
}
fn version(&self) -> abscissa_core::Version {
abscissa_core::Version::parse("1.0.0-alpha.4").unwrap()
abscissa_core::Version::parse("1.0.0-alpha.5").unwrap()
}
fn before_shutdown(&self, _kind: Shutdown) -> Result<(), FrameworkError> {