Skip to content

Arqu/bao-tree

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

254 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bao-tree

Actions Status docs.rs crates.io

The merkle tree used for blake3 verified streaming.

This is a slightly different take on blake3 verified streaming than the bao crate.

The network wire format for encoded data and slices is compatible with the bao crate, except that this crate has builtin support for runtime configurable chunk groups.

The intention is also to support both sync and async en/decoding out of the box with maximum code sharing.

It also allows encoding not just single ranges but sets of non-overlapping ranges. E.g. you can ask for bytes [0..1000,5000..6000] in a single query.

It allows to define both pre- and post order outboard formats. Post order outboard formats have advantages for synchronizing append only files.

Example

Run

cargo run --example cli

to see a cli that supports encoding and decoding

About

An implementation of BLAKE3 verified streaming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%