minisketch-rs

Crates.iominisketch-rs
lib.rsminisketch-rs
version0.1.9
sourcesrc
created_at2019-05-31 19:32:46.501726
updated_at2020-05-17 08:43:16.435853
descriptionRust interface to Pieter Wuille's minisketch library for efficient set reconciliation
homepage
repositoryhttps://github.com/eupn/minisketch-rs
max_upload_size
id138224
size820,023
(eupn)

documentation

https://docs.rs/minisketch_rs

README

minisketch-rs

Crates.io Crates.io Docs.rs Build Status

minisketch-rs is a wrapper around minisketch, a C library by Pieter Wuille for efficient set reconciliation.

minisketch is proposed as a part of an Erlay technique for bandwidth-efficient TX propagation in Bitcoin.

This library exposes type-safe Rust bindings to all minisketch functions by providing Minisketch structure.

Usage

Add dependency in Cargo.toml:

[dependencies]
minisketch-rs = "0.1"

Generate sketches from your sets of data, serialize those sketches and send them around. Reconcile sets between peers by merging sketches.

Examples

See the examples.

Commit count: 63

cargo fmt