Janus
935f11522d
lightning.json with gossip_queries
7 years ago
SomberNight
8ffeb79d01
constants.py: remove duplicate Simnet declaration
7 years ago
Janus
9853cc6f31
ln: do not use mSAT accuracy for commitment fees
7 years ago
Janus
66e7b4d250
ln: fundee must commit to fee first
7 years ago
SomberNight
fb00e29f1c
bolt-08 handshake must use ephemeral key
7 years ago
SomberNight
fca5c9379f
avoid crash if don't have peer for open channel
7 years ago
Janus
74b180a4e6
use correct dust limit for their to_local/to_remote outputs
7 years ago
Janus
478e484c54
ln: initialize genesis with object, fix method name typo, use depth_target_to_fee
7 years ago
ThomasV
bb4aa1e135
lnwatcher: pass address instead of wallet reference
7 years ago
ThomasV
bc28edf178
encapsulate funding_address_for_channel
7 years ago
SomberNight
8e63471d69
allow paying invoice without amount. min feerate 253 sat/kw.
7 years ago
Janus
ba74844b2e
lnbase: fee handling: add todo since depth_to_fee is inappropriate
7 years ago
ThomasV
21ee6f6965
asyncio: do not set event loop from wallet
7 years ago
Janus
2fd5f8613a
ln: fix race in on_network_update
7 years ago
Janus
d5cb21143f
ln: send update_fee on fee change, handle nodes without data_protect
7 years ago
Janus
12a02a8a1e
lnrouter: ignore duplicate channel announcement
7 years ago
ThomasV
9897e41e68
remove unused method
7 years ago
SomberNight
21e907a4e3
ChannelDB: print_graph
7 years ago
SomberNight
135951a13f
qt channels list: update channel when detecting close
7 years ago
SomberNight
f2242868fa
qt/channels list: show error in dialog
7 years ago
SomberNight
66817d41f9
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
d740475e7a
move channel_state into HTLCStateMachine
7 years ago
ThomasV
3caccbebcd
follow-up a7e5b9421c014fc0be72696837cb9d77519c5e03
7 years ago
ThomasV
89dfd1cc2c
lightning: improve request tab layout
7 years ago
ThomasV
f2b40c69fc
do not set background in frozen_style, it does not look good with dark theme
7 years ago
ThomasV
b5f0209a56
fix crash in lnworker main_loop
7 years ago
ThomasV
18bc5aa27b
lightning: improve receive in Qt GUI
7 years ago
ThomasV
31b67c422b
add peer suggestion to open channel dialog. move add_peer code back to lnworker constructor
7 years ago
ThomasV
2ee41975f9
add lnworker.main_loop to network.futures so it gets cancelled on exit. fix aiosafe verbosity.
7 years ago
ThomasV
44d8c8f995
diagnostic_name: convert to str
7 years ago
ThomasV
8f779f504f
LNWorker: connect to multiple peers.
save exceptions in aiosafe.
enable adding peer in GUI.
7 years ago
Janus
35adc3231b
lightning: fixup after rebasing on restructured master
7 years ago
ThomasV
1db7a8334a
Refresh LN status in GUI using network callback.
7 years ago
Janus
9145d61797
lnhtlc: remove unnecessary double application of pending feerate
7 years ago
Janus
cc48e14618
ln: enable receiving dust htlcs
7 years ago
SomberNight
18627ecd1a
lnwatcher: naive code to sweep to_local from our ctx (will not wait for timelock yet)
7 years ago
Janus
55a7e4cec1
ln: use pending_local_commit while closing (won't be revoked)
7 years ago
Janus
ed62a21547
ln: raise our dust/reserve to 546 to be compatible with c-lightning
7 years ago
Janus
b26e028d9b
ln: test fix: our commit fee is implicit from outputs
7 years ago
Janus
2dd1cb86fa
lnbase: do not revoke more than once if we have missed reading commitments
7 years ago
SomberNight
63d2c3aaf4
lnwatcher: sweep to_remote and to_local outputs if they close
7 years ago
Janus
8573dd3b6a
ln: revoke before sending bare ctx in pay(), remove subtraction of trimmed amt from fee
7 years ago
Janus
605d6ff5ca
ln: add two trimming tests, avoid negative numbers in htlc trim decision
7 years ago
Janus
03c2b954d9
lnhtlc: fee update upgrade and passes ReciverCommits and SenderCommits tests, fix NameErrors in lnbase
7 years ago
Janus
d95d6fcae9
lnaddr: remove remnants of lightning_payencode directory
7 years ago
Janus
ea3d8cb157
lnaddr: fix imports
7 years ago
ThomasV
722b4c5029
move comment
7 years ago
ThomasV
8346e358b2
move lnaddr.py to lib
7 years ago
Janus
4515c859c4
ln: avoid code duplication
7 years ago
Janus
fe973a5137
ln: avoid recursive dependencies, make new lnutil
7 years ago