Module lightning::util[][src]

Expand description

Some utility modules live here. See individual sub-modules for more info.

Modules

Various user-configurable channel limits and settings which ChannelManager applies for you.

Error types live here.

Events are returned from various bits in the library which indicate some action must be taken by the client.

Log traits live here, which are called throughout the library to provide useful information for debugging purposes.

Lightning message signing and verification lives here. These tools can be used to sign messages using the node’s secret so receivers are sure that they come from you. You can also use this to verify that a given message comes from a specific node. Furthermore, these tools can be used to sign / verify messages using ephemeral keys not tied to node’s identities.

A very simple serialization framework which is used to serialize/deserialize messages as well as ChannelsManagers and ChannelMonitors.