Skip to content

Commit

Permalink
Merge branch 'switch-to-zsa-crates-nu6' into switch-to-zsa-crates-nu7
Browse files Browse the repository at this point in the history
  • Loading branch information
dmidem committed Sep 22, 2024
2 parents faec84b + 1526276 commit 509d525
Show file tree
Hide file tree
Showing 39 changed files with 744 additions and 314 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

- name: Rust files
id: changed-files-rust
uses: tj-actions/[email protected].0
uses: tj-actions/[email protected].2
with:
files: |
**/*.rs
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Workflow files
id: changed-files-workflows
uses: tj-actions/[email protected].0
uses: tj-actions/[email protected].2
with:
files: |
.github/workflows/*.yml
Expand Down
49 changes: 38 additions & 11 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,12 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"

[[package]]
name = "cfg_aliases"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"

[[package]]
name = "chacha20"
version = "0.9.1"
Expand Down Expand Up @@ -2499,6 +2505,16 @@ dependencies = [
"lz4-sys",
]

[[package]]
name = "libyml"
version = "0.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3302702afa434ffa30847a83305f0a69d6abd74293b6554c18ec85c7ef30c980"
dependencies = [
"anyhow",
"version_check",
]

[[package]]
name = "libz-sys"
version = "1.1.18"
Expand Down Expand Up @@ -2705,6 +2721,18 @@ dependencies = [
"winapi",
]

[[package]]
name = "nix"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
dependencies = [
"bitflags 2.6.0",
"cfg-if 1.0.0",
"cfg_aliases",
"libc",
]

[[package]]
name = "nom"
version = "7.1.3"
Expand Down Expand Up @@ -4242,16 +4270,18 @@ dependencies = [
]

[[package]]
name = "serde_yaml"
version = "0.9.34+deprecated"
name = "serde_yml"
version = "0.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
checksum = "59e2dd588bf1597a252c3b920e0143eb99b0f76e4e082f4c92ce34fbc9e71ddd"
dependencies = [
"indexmap 2.3.0",
"itoa",
"libyml",
"memchr",
"ryu",
"serde",
"unsafe-libyaml",
"version_check",
]

[[package]]
Expand Down Expand Up @@ -5209,12 +5239,6 @@ dependencies = [
"subtle",
]

[[package]]
name = "unsafe-libyaml"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"

[[package]]
name = "untrusted"
version = "0.7.1"
Expand Down Expand Up @@ -5989,6 +6013,7 @@ dependencies = [
"chrono",
"color-eyre",
"criterion",
"dirs",
"ed25519-zebra",
"equihash 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures",
Expand Down Expand Up @@ -6021,6 +6046,7 @@ dependencies = [
"sha2",
"spandoc",
"static_assertions",
"tempfile",
"thiserror",
"tinyvec",
"tokio",
Expand Down Expand Up @@ -6171,6 +6197,7 @@ dependencies = [
"jsonrpc-core",
"jsonrpc-derive",
"jsonrpc-http-server",
"nix",
"proptest",
"prost 0.13.1",
"rand 0.8.5",
Expand Down Expand Up @@ -6341,7 +6368,7 @@ dependencies = [
"reqwest",
"serde",
"serde_json",
"serde_yaml",
"serde_yml",
"structopt",
"syn 2.0.72",
"thiserror",
Expand Down
21 changes: 12 additions & 9 deletions book/src/user/requirements.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# System Requirements

We recommend the following requirements for compiling and running `zebrad`:
Zebra has the following hardware requirements.

## Recommended Requirements

- 4 CPU cores
- 16 GB RAM
- 300 GB available disk space for building binaries and storing cached chain
state
- 300 GB available disk space
- 100 Mbps network connection, with 300 GB of uploads and downloads per month

Zebra's tests can take over an hour, depending on your machine. Note that you
might be able to build and run Zebra on slower systems — we haven't tested its
exact limits yet.
## Minimum Hardware Requirements

- 2 CPU cores
- 4 GB RAM
- 300 GB available disk space

[Zebra has successfully run on an Orange Pi Zero 2W with a 512 GB microSD card
without any issues.](https://x.com/Zerodartz/status/1811460885996798159)

## Disk Requirements

Expand Down Expand Up @@ -48,9 +54,6 @@ networks.
- Ongoing updates: 10 MB - 10 GB upload and download per day, depending on
user-created transaction size and peer requests.

Zebra performs an initial sync every time its internal database version changes,
so some version upgrades might require a full download of the whole chain.

Zebra needs some peers which have a round-trip latency of 2 seconds or less. If
this is a problem for you, please [open a
ticket.](https://github.com/ZcashFoundation/zebra/issues/new/choose)
Loading

0 comments on commit 509d525

Please sign in to comment.