#gossip #timer #statistics #message #event #shuffle #peer


gossip messages over broadcast trees

8 releases (5 breaking)

0.11.0 Nov 17, 2023
0.10.0 Nov 8, 2023
0.9.0 Oct 31, 2023
0.8.0 Oct 23, 2023
0.6.0-alpha.0 Aug 28, 2023
Download history 45/week @ 2023-08-26 39/week @ 2023-09-02 10/week @ 2023-09-09 12/week @ 2023-09-16 85/week @ 2023-09-23 84/week @ 2023-09-30 140/week @ 2023-10-07 112/week @ 2023-10-14 271/week @ 2023-10-21 227/week @ 2023-10-28 187/week @ 2023-11-04 63/week @ 2023-11-11 203/week @ 2023-11-18 89/week @ 2023-11-25

565 downloads per month
Used in iroh


3.5K SLoC


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).


This project is licensed under either of

at your option.


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.


~851K SLoC