You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
dependabot[bot] 5b3ecfb913
build(deps): bump docker/metadata-action from 4.6.0 to 5.0.0 (#7593)
18 hours ago
.cargo ref(docs): consolidate docs linting and publishing (#7339) 1 month ago
.github build(deps): bump docker/metadata-action from 4.6.0 to 5.0.0 (#7593) 18 hours ago
book add(doc): Add instructions for changing crate owners (#7572) 2 days ago
docker tests(rpc): Add fixed test vectors for `z_getsubtreesbyindex` from zcashd to zebra (#7515) 1 day ago
grafana change(state): Add block channel metrics, in preparation for block fork metrics (#5327) 11 months ago
tower-batch-control build(deps): bump the crypto group with 1 update (#7550) 1 week ago
tower-fallback Release Zebra v1.2.0 (#7431) 3 weeks ago
zebra-chain fix(chain): Return errors instead of panicking in methods for `Height`s (#7591) 20 hours ago
zebra-consensus build(deps): bump the log-time group with 2 updates (#7579) 1 day ago
zebra-network build(deps): bump the log-time group with 2 updates (#7579) 1 day ago
zebra-node-services build(deps): bump the formats group with 1 update (#7577) 3 days ago
zebra-rpc build(deps): bump the log-time group with 2 updates (#7579) 1 day ago
zebra-script build(deps): bump the log-time group with 2 updates (#7493) 2 weeks ago
zebra-state fix(chain): Return errors instead of panicking in methods for `Height`s (#7591) 20 hours ago
zebra-test build(deps): bump the log-time group with 2 updates (#7493) 2 weeks ago
zebra-utils build(deps): bump the formats group with 1 update (#7577) 3 days ago
zebrad remove intermittent asserts in test (#7600) 23 hours ago
.codespellrc build(deps): Bump `zcash_proofs` to 0.8.0 (#5481) 11 months ago
.dockerignore change(cd): Deploy testnet instances for every main branch push and release (#6842) 4 months ago
.firebaserc fix(doc): consolidate firebase hosting in prod project (#7313) 1 month ago
.gitattributes Show `Cargo.lock` files in the github diff view (#6249) 7 months ago
.gitignore fix(doc): consolidate firebase hosting in prod project (#7313) 1 month ago
CHANGELOG.md Fix typos in CHANGELOG.md (#7511) 2 weeks ago
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md (#1097) 3 years ago
CONTRIBUTING.md release(docs): Refactor bug report template (#6858) 4 months ago
Cargo.lock build(deps): bump the log-time group with 2 updates (#7579) 1 day ago
Cargo.toml change(readme): Install from crates.io not git in the README, automate release version replacements (#6977) 3 months ago
LICENSE-APACHE Update copyright year in Apache License (#6140) 7 months ago
LICENSE-MIT Update copyright year in MIT License (#6131) 7 months ago
README.md change(doc): Refactor docs for feature flags (#7567) 3 days ago
SECURITY.md Explicitly allow unencrypted disclosures for alpha releases (#2127) 2 years ago
clippy.toml Apply clippy fixes 4 years ago
codecov.yml Re-enable code coverage comments on PRs (#3246) 2 years ago
deny.toml build(deps): bump the test group with 3 updates (#7459) 2 weeks ago
firebase.json fix(docs): deploy external and internal docs with the correct path (#7338) 1 month ago
katex-header.html Add KaTeX to rendered docs. (#832) 3 years ago
prometheus.yaml Tell Prometheus to scrape more aggressively 4 years ago
release.toml change(release): Update release script and check it in CI (#7128) 3 months ago

README.md

Zebra logotype


CI Docker CI OSes Continuous Delivery codecov Build docs License

Contents

About

Zebra is the Zcash Foundation's independent, consensus-compatible implementation of a Zcash node.

Zebra's network stack is interoperable with zcashd, and Zebra implements all the features required to reach Zcash network consensus, including the validation of all the consensus rules for the NU5 network upgrade. Here are some benefits of Zebra.

Zebra validates blocks and transactions, but needs extra software to generate them:

Please join us on Discord if you'd like to find out more or get involved!

Getting Started

You can run Zebra using our Docker image or you can build it manually. Please see the System Requirements section in the Zebra book for system requirements.

Docker

This command will run our latest release, and sync it to the tip:

docker run zfnd/zebra:latest

For more information, read our Docker documentation.

Building Zebra

Building Zebra requires Rust, libclang, pkg-config, and a C++ compiler.

Zebra is tested with the latest stable Rust version. Earlier versions are not supported or tested. Any Zebra release can start depending on new features in the latest stable Rust.

Every few weeks, we release a new Zebra version.

Below are quick summaries for installing the dependencies on your machine.

General instructions for installing dependencies

  1. Install cargo and rustc.

  2. Install Zebra's build dependencies:

    • libclang is a library that might have different names depending on your package manager. Typical names are libclang, libclang-dev, llvm, or llvm-dev.
    • clang or another C++ compiler: g++ (all platforms) or Xcode (macOS).
    • pkg-config

Dependencies on Arch

sudo pacman -S rust clang pkgconf

Note that the package clang includes libclang as well as the C++ compiler.

Once the dependencies are in place, you can build and install Zebra:

cargo install --locked zebrad

You can start Zebra by

zebrad start

See the Installing Zebra and Running Zebra sections in the book for more details.

Optional Features

You can also build Zebra with additional Cargo features:

You can combine multiple features by listing them as parameters of the --features flag:

cargo install --features="<feature1> <feature2> ..." ...

Our full list of experimental and developer features is in the API documentation.

Some debugging and monitoring features are disabled in release builds to increase performance.

Known Issues

There are a few bugs in Zebra that we're still working on fixing:

Future Work

We will continue to add new features as part of future network upgrades, and in response to community feedback.

Documentation

The Zebra website contains user documentation, such as how to run or configure Zebra, set up metrics integrations, etc., as well as developer documentation, such as design documents. We also render API documentation for the external API of our crates, as well as internal documentation for private APIs.

User support

For bug reports please open a bug report ticket in the Zebra repository.

Alternatively by chat, Join the Zcash Foundation Discord Server and find the #zebra-support channel.

Security

Zebra has a responsible disclosure policy, which we encourage security researchers to follow.

License

Zebra is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT.

Some Zebra crates are distributed under the MIT license only, because some of their code was originally from MIT-licensed projects. See each crate's directory for details.