Files
heartwood/radicle-node/src/lib.rs
T
Dr Maxim Orlovsky aa02c52a2f node: Integrate new Noise_XK transport
This is a large change that introduces transport encryption via
a Noise_XK handshake. The inner `Service` now works directly
with `NodeId` and doesn't need to interact with socket addresses.

The transport logic takes place in `wire::transport`, and the
established sessions are passed down to `Service`.

Note that the i/o implementation in the `poll-reactor` crate still
needs testing, and there is still work to be done to integrate the
Git transport as part of this architecture.

Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-12-13 14:59:06 +01:00

36 lines
1008 B
Rust

#[macro_use]
extern crate amplify;
pub mod address;
pub mod bounded;
pub mod client;
pub mod clock;
pub mod control;
pub mod deserializer;
pub mod logger;
pub mod service;
pub mod sql;
#[cfg(any(test, feature = "test"))]
pub mod test;
#[cfg(test)]
pub mod tests;
pub mod wire;
pub use nakamoto_net::{Io, Link, LocalDuration, LocalTime};
pub use radicle::{collections, crypto, git, identity, node, profile, rad, storage};
pub mod prelude {
pub use crate::bounded::BoundedVec;
pub use crate::clock::Timestamp;
pub use crate::crypto::hash::Digest;
pub use crate::crypto::{PublicKey, Signature, Signer};
pub use crate::deserializer::Deserializer;
pub use crate::identity::{Did, Id};
pub use crate::service::filter::Filter;
pub use crate::service::message::Address;
pub use crate::service::{DisconnectReason, Event, Message, Network, NodeId};
pub use crate::storage::refs::Refs;
pub use crate::storage::WriteStorage;
pub use crate::{LocalDuration, LocalTime};
}