-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
poc(scanner): get started with the blockchain scanner proof of concept (
#7758) * get started with the blockchain scanner poc * rustfmt * fix the tests * Reads blocks from db * Adds conversion functions * scans blocks and counts transactions * fix bug * split into 2 tests * add duplicated dependencies to deny.toml * upgrade zebra-scanner version * try removing ecc duplicated dependencies * try fix deny.toml * remove unintended paste from deny.toml * remove duplicated code from the other test * remove strict version of `zcash_primitives` crate * change description * remove feture * remove tokio features * change lib doc * add more documentation * change expect * do not use default in compact block creation * more docs * add more checks to test * remove zebra-consensus dependency * move all deps to dev-deps * change crate version * rename crate to zebra-scan * lock file * ifix cargo.lock * remove internal dev dependencies versions Co-authored-by: teor <[email protected]> * fix docs url Co-authored-by: teor <[email protected]> * fix expect messages Co-authored-by: teor <[email protected]> * remove duplicated in deny.toml Co-authored-by: teor <[email protected]> * add a comment about moving code to production --------- Co-authored-by: arya2 <[email protected]> Co-authored-by: teor <[email protected]>
- Loading branch information
1 parent
2efc6bf
commit 86e468f
Showing
5 changed files
with
485 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>"] | ||
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" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.