Owez / irkle

A merkle tree lib using blake3 and binary tree arrays for superfast trees ⚡

Home Page:https://crates.io/crates/irkle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Irkle

Tests Docs

NOTE: This branch is outdated and is not being worked on, in favour of the array-redo branch which brings many preformance improvements. This branch represents the status of the 0.1.0-pre.1 verson of irkle

A blake3-based merkle (hash) tree implementation for superfast trees ⚡

Example

use irkle::Tree;

fn main() {
    println!("{:#?}", Tree::new(vec!["hello", "there"]));
}

Installation

Simply add the following to your Cargo.toml file:

[depedencies]
irkle = "0.1"

Current status

Creation and verification of merkle trees have been implemented and are fast, but could be greatly improved with the help of parallelization as currently this library is single-threaded.

This is the tracking issue for the multi-threading of irkle: https://github.com/Owez/irkle/issues/1

About

A merkle tree lib using blake3 and binary tree arrays for superfast trees ⚡

https://crates.io/crates/irkle

License:MIT License


Languages

Language:Rust 100.0%