Source code for cfxdb.gen.xbrmm.ChannelState

# automatically generated by the FlatBuffers compiler, do not modify

# namespace: xbrmm

# State of a XBR channel.
[docs] class ChannelState(object): # Unset
[docs] NONE = 0
# The channel is open on-chain, and now operating off-chain until closed.
[docs] OPEN = 1
# The off-chain channel is closing (one of the channel participants has requested to closed the channel)
[docs] CLOSING = 2
# The off-chain channel is closed and settled with no errors. The final channel state is committed on-chain.
[docs] CLOSED = 3
# The channel is closed with an error. The final channel state is committed on-chain.
[docs] FAILED = 4