SomberNight
|
897447f40b
|
persist nodes in channel_db on disk
|
7 years ago |
SomberNight
|
1a8de1e88a
|
move bolt-04 onion stuff to its own module
|
7 years ago |
Janus
|
cf7c9b24eb
|
ln: share more code with control path for failed htlc, verify ctx'es
|
7 years ago |
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
|
03917bcecd
|
bolt-08 handshake must use ephemeral key
|
7 years ago |
Janus
|
f49fc9c172
|
ln: initialize genesis with object, fix method name typo, use depth_target_to_fee
|
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 |
Janus
|
76f52dd4bb
|
ln: send update_fee on fee change, handle nodes without data_protect
|
7 years ago |
SomberNight
|
59b9be8edd
|
ChannelDB: print_graph
|
7 years ago |
Janus
|
1754baba24
|
move channel_state into HTLCStateMachine
|
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
|
6256ccabd6
|
ln: enable receiving dust htlcs
|
7 years ago |
Janus
|
62e7318f46
|
ln: raise our dust/reserve to 546 to be compatible with c-lightning
|
7 years ago |
Janus
|
950bc74039
|
lnbase: do not revoke more than once if we have missed reading commitments
|
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 |
ThomasV
|
9ec879e23b
|
move lnaddr.py to lib
|
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 |
ThomasV
|
9725aaa7ab
|
Separate open_channel dialog. In open_channel_coroutine, use host and port from channel announcements
|
7 years ago |
Janus
|
48d7aba4d5
|
ln: trim dust htlc outputs
|
7 years ago |
ThomasV
|
01c8fbc7a2
|
lightning: single shared instance of Watcher, ChannelDB and PathFinder
|
7 years ago |
Janus
|
1761dae31b
|
ln: improve lnhtlc, passes test
|
7 years ago |
ThomasV
|
beea4882e9
|
fix reestablish_channel
|
7 years ago |
ThomasV
|
f8a5c3059f
|
reestablish channels in network callback
|
7 years ago |
Janus
|
3b52509026
|
ln: close channels
|
7 years ago |
Janus
|
b45de79173
|
ln: don't corrupt channels storage when multiple funding_locked are received
|
7 years ago |
Janus
|
6034fac2a6
|
ln: don't break channel when failing htlc
|
7 years ago |
Janus
|
93820e77bd
|
ln: announcement reliability fixes for qt, remove asserts forbidding unbalanced channels
|
7 years ago |
Janus
|
4b44d9c1a6
|
ln: begin handling htlc failures
|
7 years ago |
Janus
|
000dd30e99
|
ln: channel announcements
|
7 years ago |
Janus
|
632ea24fbb
|
ln: lnpay: revoke until we get a commitment tx without htlcs
|
7 years ago |
Janus
|
1235cd04d6
|
ln: fix reestablishing channel with no mined funding tx
|
7 years ago |
Janus
|
067cae122b
|
ln: fix repeated payments
|
7 years ago |
Janus
|
5f8db0d459
|
ln: avoid code duplication
|
7 years ago |