[][src]Module lnpbp::lnp

Module that systematizes all Lightning network-related APIs from the lightning library into layered & modular design

Re-exports

pub use presentation::message::Type;
pub use presentation::message::TypedEnum;
pub use presentation::message::Unmarshaller;
pub use presentation::tlv;
pub use presentation::Message;
pub use transport::tcp;
pub use transport::tor;
pub use transport::websocket;
pub use transport::zmq;

Modules

application
presentation
transport

Structs

Inbound
LocalNode
NoEncryption
NodeAddr
Outbound
Session
UnknownTypeError

Enums

ConnectionError
NodeLocator

Universal Node Locator for LNP protocol (from LNPBP-19) NB: DNS addressing is not used since it is considered insecure in terms of censorship resistance.

Constants

LIGHTNING_P2P_DEFAULT_PORT
LNP_MSG_MAX_LEN

Traits

SessionTrait
Unmarshall

Type Definitions

UnmarshallFn