Module lightning_signer::channel[][src]

Expand description

Channel

Structs

Channel identifier

The negotiated parameters for the Channel

A channel takes this form after Node::new_channel, and before Node::ready_channel

Bitcoin Signature which specifies SigHashType

Enums

A channel can be in two states - before Node::ready_channel it’s a ChannelStub, afterwards it’s a Channel. This enum keeps track of the two different states.

The commitment type, based on the negotiated option

Traits

A trait implemented by both channel states. See ChannelSlot

Functions

Convert a nonce to a channel ID, by hashing via SHA256