Re-exports§
pub extern crate inet2_addr as addr;
pub extern crate inet2_derive as derive;
pub use presentation::sphinx;
pub use presentation::tlv;
pub use presentation::CreateUnmarshaller;
pub use presentation::Payload;
pub use presentation::TypeId;
pub use presentation::TypedEnum;
pub use presentation::UnknownTypeError;
pub use presentation::Unmarshall;
pub use presentation::UnmarshallFn;
pub use presentation::Unmarshaller;
pub use session::noise;
pub use session::Decrypt;
pub use session::Encrypt;
pub use session::NoiseDecryptor;
pub use session::NoiseEncryptor;
pub use session::NoiseTranscoder;
pub use session::PlainTranscoder;
pub use session::SendRecvMessage;
pub use session::Session;
pub use session::Split;
pub use session::Transcode;
pub use transport::zeromq;
pub use transport::DuplexConnection;
pub use transport::RoutedFrame;
pub use transport::ZmqConnectionType;
pub use transport::ZmqSocketType;
Modules§
- presentation
- session
- BOLT-8 related structures and functions covering Lightning network transport layer
- transport
- LNP transport level works with framed messages of defined size. This messages can be put into different underlying transport protocols, including streaming protocols (like TCP), or overlaid over application-level protocols like HTTP, Websockets, SMTP (for high-latency communication networks). Current mod implements such overlays and provides TCP with the required framing functionality (this variant is called FTCP). It also integrates with ZMQ such that the upper level can abstract for a particular transport protocol used.
Constants§
- BRONTIDE_
MSG_ MAX_ LEN - Maximum message (packet payload) length for Brontide protocol
- BRONTOZAUR_
MSG_ MAX_ LEN - Maximum message (packet payload) length for Brontozaur protocol
Traits§
- UrlString
- Trait used by different address types (transport-, session- and presentation-based) for getting scheme part of the URL