Skip to content

Commit

Permalink
Added implementations for Merkle proofs.
Browse files Browse the repository at this point in the history
Relates to: #283

Signed-off-by: Victor Embacher <victor@embacher.xyz>
  • Loading branch information
vembacher committed Jul 19, 2023
1 parent e23046c commit f990ebf
Show file tree
Hide file tree
Showing 12 changed files with 1,553 additions and 12 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ cached-client = ["cached"]
[dependencies]
async-trait = "0.1.52"
base64 = "0.21.0"
hex = "0.4.3"
cached = { version = "0.44.0", optional = true }
cfg-if = "1.0.0"
chrono = { version = "0.4.23" }
Expand Down Expand Up @@ -133,6 +134,7 @@ tempfile = "3.3.0"
testcontainers = "0.14"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
hex = "0.4.3"
hex-literal = "0.4"

# cosign example mappings

Expand Down
6 changes: 6 additions & 0 deletions src/crypto/merkle/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pub mod proof_verification;
pub mod rfc6962;

pub use proof_verification::MerkleProofError;
pub(crate) use proof_verification::MerkleProofVerifier;

Check warning on line 5 in src/crypto/merkle/mod.rs

View workflow job for this annotation

GitHub Actions / Check WASM

unused import: `proof_verification::MerkleProofVerifier`
pub(crate) use rfc6962::{Rfc6269Default, Rfc6269HasherTrait};

Check warning on line 6 in src/crypto/merkle/mod.rs

View workflow job for this annotation

GitHub Actions / Check WASM

unused imports: `Rfc6269Default`, `Rfc6269HasherTrait`
Loading

0 comments on commit f990ebf

Please sign in to comment.