11 releases (breaking)

0.14.0 Apr 15, 2024
0.13.0 Mar 25, 2024
0.12.0 Dec 20, 2023
0.11.0 Nov 17, 2023

#613 in Network programming

Download history 4/week @ 2024-01-12 6/week @ 2024-01-19 340/week @ 2024-01-26 342/week @ 2024-02-02 233/week @ 2024-02-09 353/week @ 2024-02-16 373/week @ 2024-02-23 400/week @ 2024-03-01 335/week @ 2024-03-08 184/week @ 2024-03-15 399/week @ 2024-03-22 463/week @ 2024-03-29 493/week @ 2024-04-05 709/week @ 2024-04-12 254/week @ 2024-04-19

1,973 downloads per month
Used in 2 crates (via iroh)

MIT/Apache

180KB
3.5K SLoC

iroh-gossip

This crate implements the iroh-gossip protocol. It is based on epidemic broadcast trees to disseminate messages among a swarm of peers interested in a topic. The implementation is based on the papers HyParView and PlumTree.

The crate is made up from two modules: The proto module is the protocol implementation, as a state machine without any IO. The net module connects the protocol to the networking stack from iroh-net.

The net module is optional behind the net feature flag (enabled by default).

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~14–53MB
~1M SLoC