hoytech / rust-negentropy

Rust implementation of the negentropy set-reconcilliation protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Negentropy

Description

Implementation of the negentropy set-reconciliation protocol.

Project structure

The project is split up into many crates:

Flame Graph and perf

Install flamegraph and then run make graph. You'll find a new file in the project root called flamegraph.svg: open it in a browser.

In the terminal you should see something like:

Client init took 0 ms
Relay items: 1000000
Relay reconcile took 25 ms
Client reconcile took 39 ms
[ perf record: Woken up 10 times to write data ]
[ perf record: Captured and wrote 2.406 MB perf.data (150 samples) ]

Benchmarks (unstable)

To run the benchmarks use: make bench

License

This project is distributed under the MIT software license - see the LICENSE file for details

Donations

⚡ Tips: https://getalby.com/p/yuki

⚡ Lightning Address: yuki@getalby.com

About

Rust implementation of the negentropy set-reconcilliation protocol.

License:MIT License


Languages

Language:Rust 94.1%Language:Python 3.6%Language:Makefile 2.3%