Skip to content

Commit

Permalink
Rename the crate to merkletree-mintlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQuantumPhysicist committed Apr 18, 2024
1 parent 5735ff0 commit c013388
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "merkletree"
name = "merkletree-mintlayer"
edition = "2021"
rust-version = "1.75"
version = "0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// This is a simple example where we calculate the root of a merkle tree

use blake2::{digest::typenum, Digest};
use merkletree::{hasher::PairHasher, tree::MerkleTree};
use merkletree_mintlayer::{hasher::PairHasher, tree::MerkleTree};

// You can use any hashing function you like, we use blake2b here as an example
type Blake2bHasher = blake2::Blake2b<typenum::U32>;
Expand Down
2 changes: 1 addition & 1 deletion examples/multi_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// This is an example where we calculate the inclusion proof of multiple-leaves in the tree and test it

use blake2::{digest::typenum, Digest};
use merkletree::{
use merkletree_mintlayer::{
hasher::PairHasher,
proof::{
multi::{MultiProofHashes, MultiProofNodes},
Expand Down
2 changes: 1 addition & 1 deletion examples/single_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// This is an example where we calculate the inclusion proof of a leaf in the tree and test it

use blake2::{digest::typenum, Digest};
use merkletree::{
use merkletree_mintlayer::{
hasher::PairHasher,
proof::{
single::{SingleProofHashes, SingleProofNodes},
Expand Down

0 comments on commit c013388

Please sign in to comment.