Module internet2::session[][src]

Expand description

BOLT-8 related structures and functions covering Lightning network transport layer

Re-exports

pub use node_addr::NodeAddr;
pub use node_addr::PartialNodeAddr;
pub use node_addr::RemoteNodeAddr;
pub use node_addr::ToNodeAddr;
pub use node_addr::ToRemoteNodeAddr;

Modules

Structs

Local node private keys

Returned after a successful handshake to encrypt and decrypt communication with peer nodes. It should not normally be manually instantiated. Automatically handles key rotation. For decryption, it is recommended to call decrypt_message_stream for automatic buffering.

Enums

Traits