SomberNight
94888739d3
try to fix "--offline" mode
2020-01-09 19:23:24 +01:00
SomberNight
369d972aed
qt: handle exceptions when pressing "Max" button
...
fixes #5783
2019-12-08 03:21:02 +01:00
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
2019-11-22 20:14:54 +01:00
SomberNight
fec9677508
qt open channel: minor dialog fixes
2019-11-20 18:00:45 +01:00
SomberNight
cd9477c0da
ln: qt channel open: fix max channel size
2019-11-20 17:45:28 +01:00
SomberNight
aa3d817ef2
qt: clean-up imports
2019-11-18 20:56:49 +01:00
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
2019-11-14 10:20:19 +01:00
ThomasV
c721e880d0
Qt: generic add_copy_menu method for MyTreeView lists
2019-10-16 15:50:18 +02:00
ThomasV
90ce9f195b
Allow user to enable lightning in the GUI. Make it a per-wallet setting.
2019-10-13 20:34:38 +02:00
SomberNight
2ee881f40a
qt channels list: fields should not be editable
2019-08-28 16:54:51 +02:00
SomberNight
e6fc8868b1
qt channels list: add "short channel id" column
2019-08-20 09:03:12 +02:00
SomberNight
3413eb05b9
qt ChannelsList: some clean-up
2019-08-20 09:03:12 +02:00
ThomasV
669b84fbd6
gui channels_list fixes
2019-08-20 09:03:11 +02:00
ThomasV
fed6c96693
add option to remove channel after it has been closed
2019-08-20 09:03:11 +02:00
ThomasV
f5c58c5e19
lightning network dialog
2019-08-20 09:03:11 +02:00
ThomasV
c4081284bd
lightning: GUI improvements
2019-08-20 09:03:11 +02:00
ThomasV
842fff832f
enable lightning through command line option
2019-08-20 09:03:11 +02:00
ThomasV
eae8f1a139
gui: show only initialized peers
2019-08-20 09:03:11 +02:00
Janus
dd7c4b3bab
sqlite in lnrouter
2019-08-20 09:03:11 +02:00
ThomasV
3dce65dc73
Rename lnchan, lnchannel_verifier, lnbase
...
Auto-completions are a pain if files share a long prefix
2019-08-20 09:03:11 +02:00
ThomasV
19e60f00bb
add watchtower_window
2019-08-20 09:03:11 +02:00
ThomasV
290a1c61a8
confirmation dialog before force closure
2019-08-20 09:03:11 +02:00
Janus
e56e849505
lnchan refactor
...
- replace undoing logic with new HTLCManager class
- separate SENT/RECEIVED
- move UpdateAddHtlc to lnutil
2019-08-20 09:03:11 +02:00
ThomasV
f4b9d2f47c
show lightning network capacity in GUI
2019-08-20 09:03:11 +02:00
Janus
4a2a45d7e3
lightning: post rebase qt gui fixes
2019-08-20 09:03:11 +02:00
Janus
864d910888
qt: channel_details: add more info: sent/received, channel id, funding tx, short channel id, node id
2019-08-20 09:03:11 +02:00
Janus
e3409d32ef
channel details with list of htlcs
2019-08-20 09:03:11 +02:00
Janus
c570bc5fb1
avoid leaving FORCE_CLOSING state, rebroadcast closing tx if reorged out
2019-08-20 09:03:11 +02:00
Janus
a5a7c1406e
lightning channels reserves: use pretty balance in Qt, fix bugs, add tests
2019-08-20 09:03:10 +02:00
ThomasV
eb4e6b2e54
use WaitingDialog to close channels
2019-08-20 09:03:10 +02:00
ThomasV
70dbd8e672
add close_channel method to peer
2019-08-20 09:03:10 +02:00
Janus
ac68c8f531
lnchan: add available_to_spend()
2019-08-20 09:03:10 +02:00
Janus
94a10e6307
rebase fixup: use new broadcast_transaction API
2019-08-20 09:03:10 +02:00
ThomasV
6efe5db0d0
run open_channel in a WaitingDialog
2019-08-20 09:03:10 +02:00
Janus
1763d02b05
rename lnhtlc->lnchan, HTLCStateMachine->Channel
2019-08-20 09:03:10 +02:00
Janus
18d06dd6b4
qt channels_list: use repr() and not str() for exceptions
2019-08-20 09:03:10 +02:00
ThomasV
6b9de278d4
aiosafe: define user visible exception class
2019-08-20 09:03:10 +02:00
ThomasV
6f3c2b30ed
lnbase: propagate error messages received in on_error to their relevant coroutines
2019-08-20 09:03:10 +02:00
SomberNight
17457327ef
make key derivation reasonable
...
no more hardcoded secrets, no more key-reuse
2019-08-20 09:03:10 +02:00
Janus
139f773c2e
new network API: use broadcast_transaction with run_from_other_thread
2019-08-20 09:03:10 +02:00
Janus
efc8d50570
move connection string decoding to lnworker, fix test_lnutil
2019-08-20 09:03:10 +02:00
Janus
24cf4e7eb0
qt channels_list: min width, not fixed with (for hiDPI displays), use OK as default button
2019-08-20 09:03:10 +02:00
Janus
d5d9270d0c
lnhtlc: save logs and feeupdates
2019-08-20 09:03:10 +02:00
SomberNight
2b4a436572
qt open channel dialog: allow pasting invoices to open a channel
2019-08-20 09:03:10 +02:00
SomberNight
f3e5ba6ac1
more reliable peer and channel re-establishing
2019-08-20 09:03:10 +02:00
SomberNight
bc06ded4b9
persist nodes in channel_db on disk
2019-08-20 09:03:10 +02:00
SomberNight
f2242868fa
qt/channels list: show error in dialog
2019-08-20 09:03:10 +02:00
Janus
d740475e7a
move channel_state into HTLCStateMachine
2019-08-20 09:03:10 +02:00
ThomasV
31b67c422b
add peer suggestion to open channel dialog. move add_peer code back to lnworker constructor
2019-08-20 09:03:10 +02:00
ThomasV
8f779f504f
LNWorker: connect to multiple peers.
...
save exceptions in aiosafe.
enable adding peer in GUI.
2019-08-20 09:03:10 +02:00