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 |
|
Janus
|
290a54e284
|
lnhtlc: save settled or failed htlcs
|
2018-11-05 20:18:38 +01:00 |
|
Janus
|
4b2fa6a828
|
move connection string decoding to lnworker, fix test_lnutil
|
2018-11-05 20:18:38 +01:00 |
|
Janus
|
086acc43a2
|
qt channels_list: min width, not fixed with (for hiDPI displays), use OK as default button
|
2018-11-05 20:18:37 +01:00 |
|
Janus
|
b7e1748a17
|
ecc_fast: require libsecp256k1 on lightning, channel graph breaks electrum without
|
2018-11-05 20:18:37 +01:00 |
|
Janus
|
dd576df67e
|
commands: add dumpgraph command to see which nodes electrum knows about
|
2018-11-05 20:18:36 +01:00 |
|
Janus
|
6c265bf949
|
requirements: require bitstring for lnaddr, cryptography for lnbase
|
2018-11-05 20:18:36 +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 |
|
ThomasV
|
277ad65ba1
|
lnwatcher: fix parameters to broadcast_transaction
|
2018-11-05 20:18:34 +01:00 |
|
Janus
|
2d092a0835
|
lnhtlc: decrease next_htlc_id counter when removing htlcs when saving
|
2018-11-05 20:18:34 +01:00 |
|
ThomasV
|
eb8ad3f3a5
|
simplify syntax
|
2018-11-05 20:18:33 +01:00 |
|
Janus
|
dfea7ca961
|
ln: don't save htlcs that are not locked in
|
2018-11-05 20:18:33 +01:00 |
|
Janus
|
51c34fd089
|
lnhtlc: bip69 ordering of htlc signatues we generate
|
2018-11-05 20:18:32 +01:00 |
|
Janus
|
a028af9dec
|
ln: avoid duplicated htlc filter code, support multiple htlcs better
|
2018-11-05 20:18:32 +01:00 |
|
Janus
|
67734d5db2
|
lnutil: remove LI01 sort after Tx.from_io: fixup after rebase on da9d1e6001
|
2018-11-05 20:18:31 +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
|
6f3a3e0f1a
|
lnchannelverifier: some clean-up
|
2018-11-05 20:18:29 +01:00 |
|
SomberNight
|
2d24ac150a
|
fix lnwatcher: network triggers were renamed
|
2018-11-05 20:18:29 +01:00 |
|
SomberNight
|
af16e32257
|
rename LNChanAnnVerifier
|
2018-11-05 20:18:28 +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 |
|
ThomasV
|
fa3fea0ec2
|
channel verifier: fix request_chunk args
|
2018-11-05 20:18:26 +01:00 |
|
ThomasV
|
dd35a5d0a0
|
add lnworker in start_network
|
2018-11-05 20:18:25 +01:00 |
|
ThomasV
|
356149cd52
|
lnwatcher: do not assume addr_sync.synchronizer
|
2018-11-05 20:16:14 +01:00 |
|
Janus
|
0448db0019
|
lnhtlc: also check received htlcs when validating commitment sigs
|
2018-11-05 20:16:13 +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
|
48dce17263
|
lnhtlc: don't throw away fee updates or htlcs
also add inject_fees debug command
|
2018-11-05 20:16:11 +01:00 |
|
Janus
|
40dc5ed28f
|
lnhtlc: cleanup and save settled htlcs
|
2018-11-05 20:16:11 +01:00 |
|
Janus
|
211de74f47
|
lnhtlc: test that sent amount is received
|
2018-11-05 20:16:10 +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
|
dea0c7ebbf
|
qt: pay_lightning_invoice - attempt paying multiple times in case of failure
|
2018-11-05 20:16:07 +01:00 |
|
SomberNight
|
85407414ed
|
lnbase.pay: test if htlc can be added
|
2018-11-05 20:16:07 +01:00 |
|
SomberNight
|
284b2cc536
|
qt send tab: hide fee fields when paying with lightning
|
2018-11-05 20:16:06 +01:00 |
|
SomberNight
|
595e7cb1b4
|
qt open channel dialog: allow pasting invoices to open a channel
|
2018-11-05 20:16:06 +01:00 |
|
SomberNight
|
d93495b9fa
|
lnrouter: use 'disable' flags from channel updates in path finding
|
2018-11-05 20:16:05 +01:00 |
|