diff --git a/README.md b/README.md index f6f8f80e239..a07298a0564 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,14 @@ Below are quick summaries for installing the dependencies on your machine. package manager. Typical names are `libclang`, `libclang-dev`, `llvm`, or `llvm-dev`. - **clang** or another C++ compiler: `g++` (all platforms) or `Xcode` (macOS). + - **[`protoc`](https://grpc.io/docs/protoc-installation/)** + +> [!NOTE] +> Zebra uses the `--experimental_allow_proto3_optional` flag with `protoc` +> during compilation. This flag was introduced in [Protocol Buffers +> v3.12.0](https://github.com/protocolbuffers/protobuf/releases/tag/v3.12.0) +> released in May 16, 2020, so make sure you're not using a version of `protoc` +> older than 3.12. @@ -96,7 +104,7 @@ Below are quick summaries for installing the dependencies on your machine. ```sh -sudo pacman -S rust clang +sudo pacman -S rust clang protobuf ``` Note that the package `clang` includes `libclang` as well as the C++ compiler. diff --git a/book/src/user/shielded-scan.md b/book/src/user/shielded-scan.md index 5fc1b892738..5d926be1e75 100644 --- a/book/src/user/shielded-scan.md +++ b/book/src/user/shielded-scan.md @@ -24,12 +24,6 @@ install the latest release: cargo install --features shielded-scan --locked --git https://github.com/ZcashFoundation/zebra zebrad ``` -> [!NOTE] Enabling the `shielded-scan` feature will make Zebra use the -> `--experimental_allow_proto3_optional` flag of `protoc` during compilation. -> This flag was introduced in [Protocol Buffers -> v3.12.0](https://github.com/protocolbuffers/protobuf/releases/tag/v3.12.0) -> released in May 16, 2020, so make sure you're not using a version of `protoc` older than 3.12. - Zebra binary will be at `~/.cargo/bin/zebrad`, which should be in your `PATH`. ## Configuration