ThomasV
9ed9fe7002
open channel dialog improvements
6 years ago
SomberNight
32acc2b10e
qt channels list: show node aliases in new column
6 years ago
ThomasV
5785c2fa2f
Fix #5975 : Forget or redeem channels that are never funded.
...
- initiator: wait until double spent
- non-initiator: wait until timeout
6 years ago
ThomasV
20d8da7e24
db upgrade: store channel tx height and timestamps in 'channels'
6 years ago
SomberNight
45a309ff25
qt channels_list: early exit if lightning is disabled
...
(note: signal is coming from a different wallet/window)
Traceback (most recent call last):
File "...\electrum\electrum\gui\qt\channels_list.py", line 142, in do_update_single_row
self.update_can_send(self.parent.wallet.lnworker)
File "...\electrum\electrum\gui\qt\channels_list.py", line 164, in update_can_send
msg = _('Can send') + ' ' + self.parent.format_amount(lnworker.can_send())\
AttributeError: 'NoneType' object has no attribute 'can_send'
6 years ago
SomberNight
2409782975
qt open channel: early return if fields are left empty
...
closes #5934
6 years ago
ThomasV
7771daf94e
qt: add menu item to view closing transaction of channel
6 years ago
ThomasV
b12c913d47
do not show channel balances if channel is closed
6 years ago
ThomasV
4e73318fad
Qt: ask confirmation before closing channel.
6 years ago
ThomasV
3264d19c6b
Qt open channel dialog: suggest and clear buttons
6 years ago
ThomasV
238fb46d87
Lightning: Show sending and receiving capacity. Fixes #5967
6 years ago
SomberNight
7d65fe1ba3
Qt ChannelsList: cosmetics (set font, enable sorting)
6 years ago
ThomasV
938fab86d1
detect redeemed channels ( fix #5963 )
6 years ago
ThomasV
5ae6e43323
message formatting
6 years ago
ThomasV
62eceeb573
Save and read lighting backups (Qt)
6 years ago
SomberNight
94888739d3
try to fix "--offline" mode
6 years ago
SomberNight
369d972aed
qt: handle exceptions when pressing "Max" button
...
fixes #5783
6 years ago
ThomasV
61dfcba092
Refactor channel states:
...
- persisted states are saved
- state transitions are checked
- transient states are stored in channel.peer_state
- new channel states: 'PREOPENING', 'FUNDED' and 'REDEEMED'
- upgrade storage to version 21
6 years ago
SomberNight
fec9677508
qt open channel: minor dialog fixes
6 years ago
SomberNight
cd9477c0da
ln: qt channel open: fix max channel size
6 years ago
SomberNight
aa3d817ef2
qt: clean-up imports
6 years ago
ThomasV
78813dcb7d
Pass make_tx function to ConfirmTxDialog
...
- allow 'spend max' when opening a channel (fixes #5698 )
- display amount minus fee when 'max' buttons are pressed
- estimate fee of channel funding using a template with dummy address
6 years ago
ThomasV
c721e880d0
Qt: generic add_copy_menu method for MyTreeView lists
6 years ago
ThomasV
90ce9f195b
Allow user to enable lightning in the GUI. Make it a per-wallet setting.
6 years ago
SomberNight
2ee881f40a
qt channels list: fields should not be editable
6 years ago
SomberNight
e6fc8868b1
qt channels list: add "short channel id" column
6 years ago
SomberNight
3413eb05b9
qt ChannelsList: some clean-up
6 years ago
ThomasV
669b84fbd6
gui channels_list fixes
6 years ago
ThomasV
fed6c96693
add option to remove channel after it has been closed
6 years ago
ThomasV
f5c58c5e19
lightning network dialog
6 years ago
ThomasV
c4081284bd
lightning: GUI improvements
6 years ago
ThomasV
842fff832f
enable lightning through command line option
6 years ago
ThomasV
eae8f1a139
gui: show only initialized peers
6 years ago
Janus
dd7c4b3bab
sqlite in lnrouter
6 years ago
ThomasV
3dce65dc73
Rename lnchan, lnchannel_verifier, lnbase
...
Auto-completions are a pain if files share a long prefix
6 years ago
ThomasV
19e60f00bb
add watchtower_window
6 years ago
ThomasV
290a1c61a8
confirmation dialog before force closure
6 years ago
Janus
e56e849505
lnchan refactor
...
- replace undoing logic with new HTLCManager class
- separate SENT/RECEIVED
- move UpdateAddHtlc to lnutil
6 years ago
ThomasV
f4b9d2f47c
show lightning network capacity in GUI
6 years ago
Janus
4a2a45d7e3
lightning: post rebase qt gui fixes
6 years ago
Janus
864d910888
qt: channel_details: add more info: sent/received, channel id, funding tx, short channel id, node id
6 years ago
Janus
e3409d32ef
channel details with list of htlcs
6 years ago
Janus
c570bc5fb1
avoid leaving FORCE_CLOSING state, rebroadcast closing tx if reorged out
6 years ago
Janus
a5a7c1406e
lightning channels reserves: use pretty balance in Qt, fix bugs, add tests
6 years ago
ThomasV
eb4e6b2e54
use WaitingDialog to close channels
6 years ago
ThomasV
70dbd8e672
add close_channel method to peer
6 years ago
Janus
ac68c8f531
lnchan: add available_to_spend()
6 years ago
Janus
94a10e6307
rebase fixup: use new broadcast_transaction API
6 years ago
ThomasV
6efe5db0d0
run open_channel in a WaitingDialog
6 years ago
Janus
1763d02b05
rename lnhtlc->lnchan, HTLCStateMachine->Channel
6 years ago