Janus
|
6be8b5994a
|
ln: fix opening of channels (NameErrors)
|
2018-11-05 20:18:44 +01:00 |
|
Janus
|
7d5e1a0932
|
lnbase: update gui after accomodating channel opening request
|
2018-11-05 20:18:43 +01:00 |
|
Janus
|
77479068c5
|
accept channel opening requests initiated by remote
|
2018-11-05 20:18:43 +01:00 |
|
Janus
|
cfc566c93c
|
lnworker.pay(): lightning-integration support
|
2018-11-05 20:18:40 +01:00 |
|
Janus
|
c8a00f7ccf
|
lnbase: remove code duplication by introducing send_commitment(chan)
|
2018-11-05 20:18:39 +01:00 |
|
Janus
|
da684b2e97
|
lnbase: remove unnecessary branching and duplicated code in receive_commitment_revoke_ack
|
2018-11-05 20:18:39 +01:00 |
|
ThomasV
|
5c1cc0ed8f
|
avoid code duplication between methods that send channel updates
|
2018-11-05 20:18:35 +01:00 |
|
Janus
|
634c39b6b0
|
ln: commit fee updates as soon as possible
|
2018-11-05 20:18:35 +01:00 |
|
Janus
|
308eacbdc3
|
ln fees: avoid resending same fee update before it has been committed to, docs
|
2018-11-05 20:18:35 +01:00 |
|
Janus
|
0e0f8a7d8f
|
avoid reading from queues concurrently in pay()
|
2018-11-05 20:18:31 +01:00 |
|
ThomasV
|
1d9ea1935e
|
add pong handler to reduce verbosity
|
2018-11-05 20:18:31 +01:00 |
|
Janus
|
75feba4b96
|
keep htlc history in case a htlc fails
|
2018-11-05 20:18:30 +01:00 |
|
Janus
|
0b2823be02
|
add command to clear ln blacklist, prevent error in pay() from killing Peer
|
2018-11-05 20:18:30 +01:00 |
|
SomberNight
|
2ef92a371f
|
fix prev
|
2018-11-05 20:18:28 +01:00 |
|
ThomasV
|
be53041966
|
lnbase: save_channel in revoke
|
2018-11-05 20:18:27 +01:00 |
|
ThomasV
|
4e68befcf8
|
fix: broadcast_transaction from non network thread
|
2018-11-05 20:18:27 +01:00 |
|
ThomasV
|
c4fc26d7b0
|
partial revert of df24fb00578309b5db27876769306196238ec3f2: process_message should not be async
|
2018-11-05 20:18:27 +01:00 |
|
Janus
|
137bf72602
|
ln: cooperative close with remote peer initiating
|
2018-11-05 20:16:13 +01:00 |
|
Janus
|
88431a59e0
|
lnhtlc: don't settle htlc with HTLCStateMachine too early
|
2018-11-05 20:16:12 +01:00 |
|
Janus
|
d79ccb1c4c
|
lnhtlc: save logs and feeupdates
|
2018-11-05 20:16:12 +01:00 |
|
Janus
|
d3a1c8ce42
|
lnwatcher rebased
|
2018-11-05 20:16:10 +01:00 |
|
Janus
|
9ccf80200b
|
lightning: post aiorpcx rebase fixup
|
2018-11-05 20:16:09 +01:00 |
|
SomberNight
|
7baf428cb8
|
remove our closed channels from channeldb. note some FIXMEs
payment were attempting to use the closed channels.
|
2018-11-05 20:16:09 +01:00 |
|
SomberNight
|
b3c21aa8d8
|
lnbase: fix payments
|
2018-11-05 20:16:09 +01:00 |
|
SomberNight
|
9b0ac5cc45
|
rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus)
|
2018-11-05 20:16:08 +01:00 |
|
SomberNight
|
eef8cd0d20
|
decode onion errors to failure message type
|
2018-11-05 20:16:08 +01:00 |
|
SomberNight
|
85407414ed
|
lnbase.pay: test if htlc can be added
|
2018-11-05 20:16:07 +01:00 |
|
SomberNight
|
36ce46ed70
|
ln onchain fees: use 2 block ETAs with 150 s/b fallback
|
2018-11-05 20:16:05 +01:00 |
|
SomberNight
|
985d15dc8e
|
more reliable peer and channel re-establishing
|
2018-11-05 20:16:04 +01:00 |
|
SomberNight
|
a16388dbc8
|
persist recent peers. implement dns seed bootstrapping.
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
|
2018-11-05 20:16:03 +01:00 |
|
SomberNight
|
4537f2bcd5
|
persist nodes in channel_db on disk
|
2018-11-05 20:15:57 +01:00 |
|
SomberNight
|
766297da31
|
move bolt-04 onion stuff to its own module
|
2018-11-05 20:08:49 +01:00 |
|
Janus
|
add2ef5d87
|
ln: share more code with control path for failed htlc, verify ctx'es
|
2018-11-05 20:08:49 +01:00 |
|
Janus
|
5011578790
|
ln: fix forwarded payment fees by removing separation between fee and amount in htlc objects
|
2018-11-05 20:08:48 +01:00 |
|
Janus
|
9718565082
|
ln: verify received commitment transactions during payment
|
2018-11-05 20:08:48 +01:00 |
|
Janus
|
fb4afb2383
|
ln: use START_INDEX instead of 2**48-1
|
2018-11-05 20:08:47 +01:00 |
|
Janus
|
d4c00ee986
|
ln: save htlc signatures
|
2018-11-05 20:08:47 +01:00 |
|
Janus
|
bedf755565
|
ln: avoid dust sends breaking channel, avoid inline functions
|
2018-11-05 20:08:46 +01:00 |
|
SomberNight
|
8f67b93e25
|
channeldb: allow injecting trusted edges
|
2018-11-05 20:08:46 +01:00 |
|
Janus
|
67c69d7042
|
special case receiving payment after fee update, fee update injector
|
2018-11-05 20:08:46 +01:00 |
|
SomberNight
|
ce9bf7c5f1
|
bolt-08 handshake must use ephemeral key
|
2018-11-05 20:05:59 +01:00 |
|
Janus
|
a058ed3100
|
ln: initialize genesis with object, fix method name typo, use depth_target_to_fee
|
2018-11-05 20:05:58 +01:00 |
|
SomberNight
|
037290a9a8
|
allow paying invoice without amount. min feerate 253 sat/kw.
|
2018-11-05 20:05:56 +01:00 |
|
Janus
|
f3bd710bbf
|
lnbase: fee handling: add todo since depth_to_fee is inappropriate
|
2018-11-05 20:05:56 +01:00 |
|
Janus
|
05300a01e6
|
ln: send update_fee on fee change, handle nodes without data_protect
|
2018-11-05 20:05:54 +01:00 |
|
SomberNight
|
309331a936
|
ChannelDB: print_graph
|
2018-11-05 20:05:53 +01:00 |
|
Janus
|
d9208f3245
|
move channel_state into HTLCStateMachine
|
2018-11-05 20:05:51 +01:00 |
|
ThomasV
|
841124ce47
|
add peer suggestion to open channel dialog. move add_peer code back to lnworker constructor
|
2018-11-05 20:05:46 +01:00 |
|
ThomasV
|
2fd3a1ca72
|
add lnworker.main_loop to network.futures so it gets cancelled on exit. fix aiosafe verbosity.
|
2018-11-05 20:05:46 +01:00 |
|
ThomasV
|
e7a1f6b7cb
|
diagnostic_name: convert to str
|
2018-11-05 20:05:45 +01:00 |
|