ThomasV
|
75dd56eff0
|
avoid code duplication between methods that send channel updates
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
5e7117dddd
|
ln: commit fee updates as soon as possible
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
5753cf9e05
|
ln fees: avoid resending same fee update before it has been committed to, docs
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
50b3bc939c
|
avoid reading from queues concurrently in pay()
|
2019-08-20 09:03:10 +02:00 |
|
ThomasV
|
a54631b873
|
add pong handler to reduce verbosity
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
a04e37d050
|
keep htlc history in case a htlc fails
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
cf4f0c5d3a
|
add command to clear ln blacklist, prevent error in pay() from killing Peer
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
fc0009206b
|
fix prev
|
2019-08-20 09:03:10 +02:00 |
|
ThomasV
|
31b1243f25
|
lnbase: save_channel in revoke
|
2019-08-20 09:03:10 +02:00 |
|
ThomasV
|
8df569962d
|
fix: broadcast_transaction from non network thread
|
2019-08-20 09:03:10 +02:00 |
|
ThomasV
|
180eb6d101
|
partial revert of df24fb00578309b5db27876769306196238ec3f2: process_message should not be async
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
224226f427
|
ln: cooperative close with remote peer initiating
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
ff902a55ee
|
lnhtlc: don't settle htlc with HTLCStateMachine too early
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
d5d9270d0c
|
lnhtlc: save logs and feeupdates
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
261fefb6f3
|
lnwatcher rebased
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
3eabd70df5
|
lightning: post aiorpcx rebase fixup
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
7edba63341
|
remove our closed channels from channeldb. note some FIXMEs
payment were attempting to use the closed channels.
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
08d20ce187
|
lnbase: fix payments
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
1b030fca78
|
rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus)
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
bab9f163f7
|
decode onion errors to failure message type
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
4d1785799b
|
lnbase.pay: test if htlc can be added
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
15a6a83107
|
ln onchain fees: use 2 block ETAs with 150 s/b fallback
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
f3e5ba6ac1
|
more reliable peer and channel re-establishing
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
c02cc9bb3b
|
persist recent peers. implement dns seed bootstrapping.
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
bc06ded4b9
|
persist nodes in channel_db on disk
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
5a05a92b3d
|
move bolt-04 onion stuff to its own module
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
9247da5203
|
ln: share more code with control path for failed htlc, verify ctx'es
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
96a16adf30
|
ln: fix forwarded payment fees by removing separation between fee and amount in htlc objects
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
318d25e676
|
ln: verify received commitment transactions during payment
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
3c06b3cee1
|
ln: use START_INDEX instead of 2**48-1
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
a841fa3602
|
ln: save htlc signatures
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
9c442586b2
|
ln: avoid dust sends breaking channel, avoid inline functions
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
d0798c336f
|
channeldb: allow injecting trusted edges
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
7f0568d83a
|
special case receiving payment after fee update, fee update injector
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
fb00e29f1c
|
bolt-08 handshake must use ephemeral key
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
478e484c54
|
ln: initialize genesis with object, fix method name typo, use depth_target_to_fee
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
8e63471d69
|
allow paying invoice without amount. min feerate 253 sat/kw.
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
ba74844b2e
|
lnbase: fee handling: add todo since depth_to_fee is inappropriate
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
d5cb21143f
|
ln: send update_fee on fee change, handle nodes without data_protect
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
21e907a4e3
|
ChannelDB: print_graph
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
d740475e7a
|
move channel_state into HTLCStateMachine
|
2019-08-20 09:03:10 +02:00 |
|
ThomasV
|
31b67c422b
|
add peer suggestion to open channel dialog. move add_peer code back to lnworker constructor
|
2019-08-20 09:03:10 +02:00 |
|
ThomasV
|
2ee41975f9
|
add lnworker.main_loop to network.futures so it gets cancelled on exit. fix aiosafe verbosity.
|
2019-08-20 09:03:10 +02:00 |
|
ThomasV
|
44d8c8f995
|
diagnostic_name: convert to str
|
2019-08-20 09:03:10 +02:00 |
|
ThomasV
|
8f779f504f
|
LNWorker: connect to multiple peers.
save exceptions in aiosafe.
enable adding peer in GUI.
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
35adc3231b
|
lightning: fixup after rebasing on restructured master
|
2019-08-20 09:03:10 +02:00 |
|