Janus
0e8cb7a789
ln: fix forwarded payment fees by removing separation between fee and amount in htlc objects
7 years ago
Janus
7f37d6ab5c
ln: verify received commitment transactions during payment
7 years ago
Janus
ef8dd18c9a
ln: use START_INDEX instead of 2**48-1
7 years ago
Janus
5c386b7a20
ln: save htlc signatures
7 years ago
Janus
1b6b6855b0
ln: avoid dust sends breaking channel, avoid inline functions
7 years ago
SomberNight
28eddf9c3a
channeldb: allow injecting trusted edges
7 years ago
Janus
f72dc2809b
special case receiving payment after fee update, fee update injector
7 years ago
SomberNight
e2ecc4fa73
persist channel db on disk. verify channel gossip sigs.
7 years ago
SomberNight
0d81444f27
start using electrum protocol 1.4
7 years ago
Janus
2d0541eeff
lightning.json with gossip_queries
7 years ago
SomberNight
4af95e4676
constants.py: remove duplicate Simnet declaration
7 years ago
Janus
9d4bf77ef2
ln: do not use mSAT accuracy for commitment fees
7 years ago
Janus
a05254c95f
ln: fundee must commit to fee first
7 years ago
SomberNight
03917bcecd
bolt-08 handshake must use ephemeral key
7 years ago
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