Skip to content

Commit

Permalink
Merge of #7758
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Nov 8, 2023
2 parents 2efc6bf + 077a83b commit 20c0ebd
Show file tree
Hide file tree
Showing 5 changed files with 485 additions and 0 deletions.
64 changes: 64 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4018,6 +4018,18 @@ dependencies = [
"lazy_static",
]

[[package]]
name = "shardtree"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c19f96dde3a8693874f7e7c53d95616569b4009379a903789efbd448f4ea9cc7"
dependencies = [
"bitflags 2.4.1",
"either",
"incrementalmerkletree",
"tracing",
]

[[package]]
name = "shlex"
version = "1.2.0"
Expand Down Expand Up @@ -5413,6 +5425,39 @@ dependencies = [
"zcash_encoding",
]

[[package]]
name = "zcash_client_backend"
version = "0.10.0-rc.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ecc33f71747a93d509f7e1c047961e359a271bdf4869cc07f7f65ee1ba7df8c2"
dependencies = [
"base64 0.21.5",
"bech32",
"bls12_381",
"bs58",
"crossbeam-channel",
"group",
"hex",
"incrementalmerkletree",
"memuse",
"nom",
"orchard",
"percent-encoding",
"prost",
"rayon",
"secrecy",
"shardtree",
"subtle",
"time",
"tonic-build",
"tracing",
"which",
"zcash_address",
"zcash_encoding",
"zcash_note_encryption",
"zcash_primitives",
]

[[package]]
name = "zcash_encoding"
version = "0.2.0"
Expand Down Expand Up @@ -5733,6 +5778,25 @@ dependencies = [
"zebra-test",
]

[[package]]
name = "zebra-scan"
version = "0.1.0-alpha.0"
dependencies = [
"bls12_381",
"color-eyre",
"ff",
"group",
"jubjub",
"rand 0.8.5",
"tokio",
"zcash_client_backend",
"zcash_note_encryption",
"zcash_primitives",
"zebra-chain",
"zebra-state",
"zebra-test",
]

[[package]]
name = "zebra-script"
version = "1.0.0-beta.31"
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ members = [
"zebra-node-services",
"zebra-test",
"zebra-utils",
"zebra-scan",
"tower-batch-control",
"tower-fallback",
]
Expand Down
39 changes: 39 additions & 0 deletions zebra-scan/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[package]
name = "zebra-scan"
version = "0.1.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "Shielded transaction scanner for the Zcash blockchain"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/zebra"
edition = "2021"

readme = "../README.md"
homepage = "https://zfnd.org/zebra/"
# crates.io is limited to 5 keywords and categories
keywords = ["zebra", "zcash"]
# Must be one of <https://crates.io/category_slugs>
categories = ["cryptography::cryptocurrencies"]

[features]

# Production features that activate extra dependencies, or extra features in dependencies

[dependencies]

[dev-dependencies]

zcash_client_backend = "0.10.0-rc.1"
zcash_primitives = "0.13.0-rc.1"
zcash_note_encryption = "0.4.0"

color-eyre = { version = "0.6.2" }
rand = "0.8.5"
bls12_381 = "0.8.0"
jubjub = "0.10.0"
ff = "0.13.0"
group = "0.13.0"
tokio = { version = "1.33.0", features = ["test-util"] }

zebra-state = { path = "../zebra-state" }
zebra-chain = { path = "../zebra-chain" }
zebra-test = { path = "../zebra-test" }
8 changes: 8 additions & 0 deletions zebra-scan/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//! Shielded transaction scanner for the Zcash blockchain.

#![doc(html_favicon_url = "https://zfnd.org/wp-content/uploads/2022/03/zebra-favicon-128.png")]
#![doc(html_logo_url = "https://zfnd.org/wp-content/uploads/2022/03/zebra-icon.png")]
#![doc(html_root_url = "https://docs.rs/zebra_scan")]

#[cfg(test)]
mod tests;
Loading

0 comments on commit 20c0ebd

Please sign in to comment.