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.

Minisketch Rs

Rust bindings to @sipa's minisketch library

Minisketch Rs Info

⭐ Stars 16
🔗 Source Code github.com
🕒 Last Update 2 years ago
🕒 Created 3 years ago
🐞 Open Issues 2
➗ Star-Issue Ratio 8
😎 Author eupn