ThomasV
|
e7a1f6b7cb
|
diagnostic_name: convert to str
|
2018-11-05 20:05:45 +01:00 |
|
ThomasV
|
ae389ae5e2
|
LNWorker: connect to multiple peers.
save exceptions in aiosafe.
enable adding peer in GUI.
|
2018-11-05 20:05:45 +01:00 |
|
Janus
|
8276d023c2
|
lightning: fixup after rebasing on restructured master
|
2018-11-05 20:05:44 +01:00 |
|
ThomasV
|
de75872bfc
|
Refresh LN status in GUI using network callback.
|
2018-11-05 20:05:44 +01:00 |
|
Janus
|
c244e47024
|
lnhtlc: remove unnecessary double application of pending feerate
|
2018-11-05 20:05:43 +01:00 |
|
Janus
|
017f275f18
|
ln: enable receiving dust htlcs
|
2018-11-05 20:05:43 +01:00 |
|
SomberNight
|
36de0ac9d7
|
lnwatcher: naive code to sweep to_local from our ctx (will not wait for timelock yet)
|
2018-11-05 20:05:42 +01:00 |
|
Janus
|
009b56a777
|
ln: use pending_local_commit while closing (won't be revoked)
|
2018-11-05 20:05:42 +01:00 |
|
Janus
|
e464c989e9
|
ln: raise our dust/reserve to 546 to be compatible with c-lightning
|
2018-11-05 20:05:41 +01:00 |
|
Janus
|
3a89e4f9a8
|
ln: test fix: our commit fee is implicit from outputs
|
2018-11-05 20:05:41 +01:00 |
|
Janus
|
be068de6a0
|
lnbase: do not revoke more than once if we have missed reading commitments
|
2018-11-05 20:05:40 +01:00 |
|
SomberNight
|
014d25ff28
|
lnwatcher: sweep to_remote and to_local outputs if they close
|
2018-11-05 20:05:40 +01:00 |
|
Janus
|
1ee125df8a
|
ln: revoke before sending bare ctx in pay(), remove subtraction of trimmed amt from fee
|
2018-11-05 20:05:39 +01:00 |
|
Janus
|
43d72c236a
|
ln: add two trimming tests, avoid negative numbers in htlc trim decision
|
2018-11-05 20:05:39 +01:00 |
|
Janus
|
98574bf5ee
|
lnhtlc: fee update upgrade and passes ReciverCommits and SenderCommits tests, fix NameErrors in lnbase
|
2018-11-05 20:05:38 +01:00 |
|
Janus
|
d4433cfcd4
|
lnaddr: remove remnants of lightning_payencode directory
|
2018-11-05 20:05:38 +01:00 |
|
Janus
|
413a94a13d
|
lnaddr: fix imports
|
2018-11-05 20:05:37 +01:00 |
|
ThomasV
|
fd18ae6773
|
move comment
|
2018-11-05 20:05:37 +01:00 |
|
ThomasV
|
e7e2b39cfa
|
move lnaddr.py to lib
|
2018-11-05 20:05:36 +01:00 |
|
Janus
|
bdac56aa19
|
ln: avoid code duplication
|
2018-11-05 20:05:36 +01:00 |
|
Janus
|
414da3942c
|
ln: avoid recursive dependencies, make new lnutil
|
2018-11-05 20:05:35 +01:00 |
|
Janus
|
c255f534a8
|
ln: merge OpenChannel and HTLCStateMachine
|
2018-11-05 20:05:35 +01:00 |
|
Janus
|
361e119816
|
ln: shortcut some OpenChannel fields to traversing too much
|
2018-11-05 20:05:34 +01:00 |
|
Janus
|
d894320625
|
ln: store HTLCStateMachine in lnworker.channels
|
2018-11-05 20:05:34 +01:00 |
|
SomberNight
|
94c9943054
|
improve Qt Receive tab for LN payment requests
|
2018-11-05 20:05:33 +01:00 |
|
ThomasV
|
93796b1e32
|
Separate open_channel dialog. In open_channel_coroutine, use host and port from channel announcements
|
2018-11-05 20:05:33 +01:00 |
|
Janus
|
3948945b0f
|
ln: use new non-classmethod add_signature_to_txin
|
2018-11-05 20:05:32 +01:00 |
|
Janus
|
a3b67494a9
|
ln: trim dust htlc outputs
|
2018-11-05 20:05:32 +01:00 |
|
ThomasV
|
047c543e19
|
do not set channel state in close_channel; the watcher should do it
|
2018-11-05 20:05:31 +01:00 |
|
ThomasV
|
586dc0a891
|
lightning: single shared instance of Watcher, ChannelDB and PathFinder
|
2018-11-05 20:05:31 +01:00 |
|
ThomasV
|
7711bc1074
|
disable lightning on mainnet
|
2018-11-05 20:02:55 +01:00 |
|
Janus
|
5cd0cb2a6f
|
ln: improve lnhtlc, passes test
|
2018-11-05 20:02:54 +01:00 |
|
Janus
|
8301d932a5
|
lnhtlc: use current_per_commitment_point, current_commitment_signature
|
2018-11-05 20:02:54 +01:00 |
|
ThomasV
|
d79e4ba3cf
|
fix reestablish_channel
|
2018-11-05 20:02:53 +01:00 |
|
ThomasV
|
9e1b62f6b4
|
reestablish channels in network callback
|
2018-11-05 20:02:53 +01:00 |
|
ThomasV
|
1be29dbad6
|
channel watcher class
|
2018-11-05 20:02:52 +01:00 |
|
Janus
|
3dbd1e4af6
|
ln: add was_announced in test_lnhtlc
|
2018-11-05 20:02:52 +01:00 |
|
Janus
|
27288f3e69
|
ln: close channels
|
2018-11-05 20:02:52 +01:00 |
|
Janus
|
90488f0e05
|
ln: don't corrupt channels storage when multiple funding_locked are received
|
2018-11-05 20:02:51 +01:00 |
|
Janus
|
a4a5705936
|
ln: don't break channel when failing htlc
|
2018-11-05 20:02:51 +01:00 |
|
Janus
|
86546ea6c4
|
ln: announcement reliability fixes for qt, remove asserts forbidding unbalanced channels
|
2018-11-05 20:02:50 +01:00 |
|
Janus
|
695ac2db0c
|
ln: begin handling htlc failures
|
2018-11-05 20:02:50 +01:00 |
|
SomberNight
|
d8500f5e76
|
add minor comment for RouteEdge as clarification
|
2018-11-05 20:02:49 +01:00 |
|
SomberNight
|
9cbca2a944
|
LNPathFinder: cltv delta of first edge in a path should be ignored
|
2018-11-05 20:02:49 +01:00 |
|
Janus
|
cc815c318d
|
ln: channel announcements
|
2018-11-05 20:02:48 +01:00 |
|
Janus
|
98818c3c3a
|
ln: lnpay: revoke until we get a commitment tx without htlcs
|
2018-11-05 20:02:48 +01:00 |
|
Janus
|
e0f817244a
|
ln: fix reestablishing channel with no mined funding tx
|
2018-11-05 20:02:47 +01:00 |
|
Janus
|
549debc2ec
|
ln: fix repeated payments
|
2018-11-05 20:02:47 +01:00 |
|
Janus
|
87992bce0c
|
ln: avoid code duplication
|
2018-11-05 20:02:46 +01:00 |
|
Janus
|
e51db18bac
|
ln: save remote's secrets in RevocationStore, not our secrets. call lnhtlc.receive_revocation
|
2018-11-05 20:02:46 +01:00 |
|