[][src]Module internet2::session

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

node_addr

Structs

DecryptionError
LocalNode

Local node private keys

NoiseDecryptor
NoiseEncryptor
NoiseTranscoder

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.

PlainTranscoder
Raw
RawInput
RawOutput

Traits

Accept
Connect
Decrypt
Encrypt
Input
Output
Session
Split
Transcode