Browse Source
lnchannel: explain why if REMOTE f-closes we remain OPEN until mined
bip39-recovery
SomberNight
5 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
3 additions and
1 deletions
-
electrum/lnchannel.py
|
|
@ -80,7 +80,9 @@ class ChannelState(IntEnum): |
|
|
|
OPEN = 3 # both parties have sent funding_locked |
|
|
|
SHUTDOWN = 4 # shutdown has been sent. |
|
|
|
CLOSING = 5 # closing negotiation done. we have a fully signed tx. |
|
|
|
FORCE_CLOSING = 6 # we force-closed, and closing tx is unconfirmed. (otherwise we remain OPEN) |
|
|
|
FORCE_CLOSING = 6 # we force-closed, and closing tx is unconfirmed. Note that if the |
|
|
|
# remote force-closes then we remain OPEN until it gets mined - |
|
|
|
# the server could be lying to us with a fake tx. |
|
|
|
CLOSED = 7 # closing tx has been mined |
|
|
|
REDEEMED = 8 # we can stop watching |
|
|
|
|
|
|
|