SomberNight
882a0d6573
avoid crash if don't have peer for open channel
7 years ago
Janus
607c8d17b1
use correct dust limit for their to_local/to_remote outputs
7 years ago
Janus
f49fc9c172
ln: initialize genesis with object, fix method name typo, use depth_target_to_fee
7 years ago
ThomasV
6cf6ecf517
lnwatcher: pass address instead of wallet reference
7 years ago
ThomasV
b037a97ead
encapsulate funding_address_for_channel
7 years ago
SomberNight
17ba18e0c5
allow paying invoice without amount. min feerate 253 sat/kw.
7 years ago
Janus
f608280580
lnbase: fee handling: add todo since depth_to_fee is inappropriate
7 years ago
ThomasV
55ad777235
asyncio: do not set event loop from wallet
7 years ago
Janus
c657137366
ln: fix race in on_network_update
7 years ago
Janus
76f52dd4bb
ln: send update_fee on fee change, handle nodes without data_protect
7 years ago
Janus
7c0848a4f3
lnrouter: ignore duplicate channel announcement
7 years ago
ThomasV
60b3e6f0f2
remove unused method
7 years ago
SomberNight
59b9be8edd
ChannelDB: print_graph
7 years ago
SomberNight
0978904471
qt channels list: update channel when detecting close
7 years ago
SomberNight
033fab38ba
qt/channels list: show error in dialog
7 years ago
SomberNight
3a62159e3a
lnwatcher improvements
- only try sweeping csv-locked to_local if past timelock
- check if outputs are already spent
- no need to keep watching channels for which all outputs are spent and mined deep
7 years ago
Janus
1754baba24
move channel_state into HTLCStateMachine
7 years ago
ThomasV
8c47c140d9
follow-up a7e5b9421c014fc0be72696837cb9d77519c5e03
7 years ago
ThomasV
200079dc69
lightning: improve request tab layout
7 years ago
ThomasV
15ef65d24d
do not set background in frozen_style, it does not look good with dark theme
7 years ago
ThomasV
71bd0dc70e
fix crash in lnworker main_loop
7 years ago
ThomasV
3b05a86f0b
lightning: improve receive in Qt GUI
7 years ago
ThomasV
344d591536
add peer suggestion to open channel dialog. move add_peer code back to lnworker constructor
7 years ago
ThomasV
fded8b8f76
add lnworker.main_loop to network.futures so it gets cancelled on exit. fix aiosafe verbosity.
7 years ago
ThomasV
3cc50c6e6a
diagnostic_name: convert to str
7 years ago
ThomasV
351c5434f2
LNWorker: connect to multiple peers.
save exceptions in aiosafe.
enable adding peer in GUI.
7 years ago
Janus
05e0657969
lightning: fixup after rebasing on restructured master
7 years ago
ThomasV
15bfd980bb
Refresh LN status in GUI using network callback.
7 years ago
Janus
a43fc875db
lnhtlc: remove unnecessary double application of pending feerate
7 years ago
Janus
6256ccabd6
ln: enable receiving dust htlcs
7 years ago
SomberNight
acbaae394b
lnwatcher: naive code to sweep to_local from our ctx (will not wait for timelock yet)
7 years ago
Janus
e80efcfd68
ln: use pending_local_commit while closing (won't be revoked)
7 years ago
Janus
62e7318f46
ln: raise our dust/reserve to 546 to be compatible with c-lightning
7 years ago
Janus
385782761f
ln: test fix: our commit fee is implicit from outputs
7 years ago
Janus
950bc74039
lnbase: do not revoke more than once if we have missed reading commitments
7 years ago
SomberNight
b3f46609ed
lnwatcher: sweep to_remote and to_local outputs if they close
7 years ago
Janus
f7f6abef40
ln: revoke before sending bare ctx in pay(), remove subtraction of trimmed amt from fee
7 years ago
Janus
124705084a
ln: add two trimming tests, avoid negative numbers in htlc trim decision
7 years ago
Janus
c896fba459
lnhtlc: fee update upgrade and passes ReciverCommits and SenderCommits tests, fix NameErrors in lnbase
7 years ago
Janus
39e4dcda57
lnaddr: remove remnants of lightning_payencode directory
7 years ago
Janus
9cad00cc8a
lnaddr: fix imports
7 years ago
ThomasV
92e5b8d4ca
move comment
7 years ago
ThomasV
9ec879e23b
move lnaddr.py to lib
7 years ago
Janus
01fbab794c
ln: avoid code duplication
7 years ago
Janus
4b80982a48
ln: avoid recursive dependencies, make new lnutil
7 years ago
Janus
26695a4ece
ln: merge OpenChannel and HTLCStateMachine
7 years ago
Janus
bb7399e95b
ln: shortcut some OpenChannel fields to traversing too much
7 years ago
Janus
b3f78b6022
ln: store HTLCStateMachine in lnworker.channels
7 years ago
SomberNight
8470878221
improve Qt Receive tab for LN payment requests
7 years ago
ThomasV
9725aaa7ab
Separate open_channel dialog. In open_channel_coroutine, use host and port from channel announcements
7 years ago