Skip to content

ChannelState

autogen.beta.network.channel.ChannelState #

Bases: str, Enum

Lifecycle state of a channel.

The state machine is hub-enforced. Transitions are paired with the envelope that drove them under the per-channel lock.

PENDING class-attribute instance-attribute #

PENDING = 'pending'

ACTIVE class-attribute instance-attribute #

ACTIVE = 'active'

CLOSING class-attribute instance-attribute #

CLOSING = 'closing'

CLOSED class-attribute instance-attribute #

CLOSED = 'closed'

EXPIRED class-attribute instance-attribute #

EXPIRED = 'expired'