Janus
|
a04e37d050
|
keep htlc history in case a htlc fails
|
7 years ago |
Janus
|
cf4f0c5d3a
|
add command to clear ln blacklist, prevent error in pay() from killing Peer
|
7 years ago |
SomberNight
|
fc0009206b
|
fix prev
|
7 years ago |
ThomasV
|
31b1243f25
|
lnbase: save_channel in revoke
|
7 years ago |
ThomasV
|
8df569962d
|
fix: broadcast_transaction from non network thread
|
7 years ago |
ThomasV
|
180eb6d101
|
partial revert of df24fb00578309b5db27876769306196238ec3f2: process_message should not be async
|
7 years ago |
Janus
|
224226f427
|
ln: cooperative close with remote peer initiating
|
7 years ago |
Janus
|
ff902a55ee
|
lnhtlc: don't settle htlc with HTLCStateMachine too early
|
7 years ago |
Janus
|
d5d9270d0c
|
lnhtlc: save logs and feeupdates
|
7 years ago |
Janus
|
261fefb6f3
|
lnwatcher rebased
|
7 years ago |
Janus
|
3eabd70df5
|
lightning: post aiorpcx rebase fixup
|
7 years ago |
SomberNight
|
7edba63341
|
remove our closed channels from channeldb. note some FIXMEs
payment were attempting to use the closed channels.
|
7 years ago |
SomberNight
|
08d20ce187
|
lnbase: fix payments
|
7 years ago |
SomberNight
|
1b030fca78
|
rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus)
|
7 years ago |
SomberNight
|
bab9f163f7
|
decode onion errors to failure message type
|
7 years ago |
SomberNight
|
4d1785799b
|
lnbase.pay: test if htlc can be added
|
7 years ago |
SomberNight
|
15a6a83107
|
ln onchain fees: use 2 block ETAs with 150 s/b fallback
|
7 years ago |
SomberNight
|
f3e5ba6ac1
|
more reliable peer and channel re-establishing
|
7 years ago |
SomberNight
|
c02cc9bb3b
|
persist recent peers. implement dns seed bootstrapping.
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
|
7 years ago |
SomberNight
|
bc06ded4b9
|
persist nodes in channel_db on disk
|
7 years ago |
SomberNight
|
5a05a92b3d
|
move bolt-04 onion stuff to its own module
|
7 years ago |
Janus
|
9247da5203
|
ln: share more code with control path for failed htlc, verify ctx'es
|
7 years ago |
Janus
|
96a16adf30
|
ln: fix forwarded payment fees by removing separation between fee and amount in htlc objects
|
7 years ago |
Janus
|
318d25e676
|
ln: verify received commitment transactions during payment
|
7 years ago |
Janus
|
3c06b3cee1
|
ln: use START_INDEX instead of 2**48-1
|
7 years ago |
Janus
|
a841fa3602
|
ln: save htlc signatures
|
7 years ago |
Janus
|
9c442586b2
|
ln: avoid dust sends breaking channel, avoid inline functions
|
7 years ago |
SomberNight
|
d0798c336f
|
channeldb: allow injecting trusted edges
|
7 years ago |
Janus
|
7f0568d83a
|
special case receiving payment after fee update, fee update injector
|
7 years ago |
SomberNight
|
fb00e29f1c
|
bolt-08 handshake must use ephemeral key
|
7 years ago |
Janus
|
478e484c54
|
ln: initialize genesis with object, fix method name typo, use depth_target_to_fee
|
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 |
Janus
|
d5cb21143f
|
ln: send update_fee on fee change, handle nodes without data_protect
|
7 years ago |
SomberNight
|
21e907a4e3
|
ChannelDB: print_graph
|
7 years ago |
Janus
|
d740475e7a
|
move channel_state into HTLCStateMachine
|
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
|
cc48e14618
|
ln: enable receiving dust htlcs
|
7 years ago |
Janus
|
ed62a21547
|
ln: raise our dust/reserve to 546 to be compatible with c-lightning
|
7 years ago |
Janus
|
2dd1cb86fa
|
lnbase: do not revoke more than once if we have missed reading commitments
|
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 |
ThomasV
|
8346e358b2
|
move lnaddr.py to lib
|
7 years ago |
Janus
|
fe973a5137
|
ln: avoid recursive dependencies, make new lnutil
|
7 years ago |