Registry / crypto / spl-concurrent-merkle-tree

spl-concurrent-merkle-tree

JSON →
library1.0.0rscratesunverified

Solana Program Library implementation of a concurrent Merkle tree data structure.

# Cargo.toml [dependencies] spl-concurrent-merkle-tree = "1.0.0"
INSTALL
IMPORT
SIG · SPL-CONCURRENT-MER
S
spl-concurrent-merkle-tree
cryptorustv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ConcurrentMerkleTree
use spl_concurrent_merkle_tree::ConcurrentMerkleTree;

Create a new concurrent Merkle tree with specified depth.

use spl_concurrent_merkle_tree::ConcurrentMerkleTree; fn main() { let tree = ConcurrentMerkleTree::new(10); println!("Merkle tree created with depth 10"); }
Debug
Known issues
gotchaRequires Solana SDK and specific feature flags for on-chain use
fix
Add `solana-program` dependency and enable `solana` feature
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
spl-concurrent-merkle-tree — cargo add spl-concurrent-merkle-tree · libregistry