everscale_network/
lib.rs

1#![allow(clippy::too_many_arguments)]
2
3//! Implementation of the network part of the Everscale blockchain.
4
5macro_rules! ok {
6    ($expr:expr) => {
7        match $expr {
8            Ok(val) => val,
9            Err(err) => return Err(err),
10        }
11    };
12}
13
14// Re-export TL-proto crate
15pub use everscale_crypto as crypto;
16pub use tl_proto as tl;
17
18pub use subscriber::{MessageSubscriber, QueryConsumingResult, QuerySubscriber, SubscriberContext};
19pub use util::NetworkBuilder;
20
21pub mod adnl;
22#[cfg(feature = "dht")]
23pub mod dht;
24pub mod overlay;
25pub mod proto;
26#[cfg(feature = "rldp")]
27pub mod rldp;
28mod subscriber;
29pub mod util;