p2panda-net 0.6.1

Data-type-agnostic p2p networking, discovery, gossip and local-first sync
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT OR Apache-2.0

//! Gossip protocol to broadcast ephemeral messages to all online nodes interested in the same
//! topic.
mod actors;
mod api;
mod builder;
mod config;
mod events;
#[cfg(test)]
mod tests;

pub use api::{Gossip, GossipError, GossipHandle, GossipPublishError, GossipSubscription};
pub use builder::Builder;
pub use config::{DEFAULT_MAX_MESSAGE_SIZE, GossipConfig, HyParViewConfig, PlumTreeConfig};
pub use events::GossipEvent;