Commit graph

31 commits

Author SHA1 Message Date
ThomasV
9c4fa7b251 follow-up prev commit 2018-11-12 12:25:21 +01:00
ThomasV
0ebadab574 lightning: do not handle more than one fee update at a time 2018-11-12 11:55:13 +01:00
Janus
cedf1b5433 fix ln tests 2018-11-07 18:00:45 +01:00
Janus
405ed49028 add command for listing invoices and their progress, fix list_channels 2018-11-07 17:44:49 +01:00
Janus
5d7acf993d function that returns map from commitment number to list of HTLCs 2018-11-05 20:31:06 +01:00
Janus
a774f3339e
avoid leaving FORCE_CLOSING state, rebroadcast closing tx if reorged out 2018-11-05 20:24:16 +01:00
Janus
09a948c448
lnchan: use NamedTuple for logs instead of dict with static keys (adds, locked_in, settles, fails) 2018-11-05 20:24:13 +01:00
Janus
cbc0422af1
lnchan: make sign_next_commitment revert state 2018-11-05 20:24:12 +01:00
Janus
0a8d836d13
remove incorrect docstrings, attribute docstring sources where applicable 2018-11-05 20:24:12 +01:00
SomberNight
f411183158
after rebase clean-up 2018-11-05 20:24:11 +01:00
SomberNight
16a9aa322f
lnbase: more type annotations, and minor fix 2018-11-05 20:24:10 +01:00
Janus
d8de048003
add lnd copyright boilerplate to lnchan, test_lnchan 2018-11-05 20:24:09 +01:00
Janus
3866df6650
lnworker: fix listchannels 2018-11-05 20:24:09 +01:00
Janus
1dc9e062df
lightning channels reserves: use pretty balance in Qt, fix bugs, add tests 2018-11-05 20:24:08 +01:00
ThomasV
f8fd131d01
use WaitingDialog to close channels 2018-11-05 20:24:07 +01:00
Janus
36d03f4762
lightning channel reserves 2018-11-05 20:24:05 +01:00
Janus
94b0631ccc
fix co-op close 2018-11-05 20:24:04 +01:00
SomberNight
5ce88014c8
lnutil.make_funding_input: don't return payment pubkeys
order depends on who is initiator anyway
2018-11-05 20:24:03 +01:00
Janus
3afb9c8ca3
redeem htlc outputs of our local commitment transaction back to wallet 2018-11-05 20:24:02 +01:00
SomberNight
5c8b5a0b7c
some more type annotations that needed conditional imports 2018-11-05 20:24:02 +01:00
SomberNight
c60715d55c
lnchan: set diagnostic_name
previously was only set for tests
2018-11-05 20:24:01 +01:00
SomberNight
f1ea73a2c6
start failing htlcs 2018-11-05 20:23:58 +01:00
Janus
0b2f539c81
lnchan: add available_to_spend() 2018-11-05 20:23:54 +01:00
Janus
c7ccaabcc2
lnchan: make function for onion_keys decoding/encoding 2018-11-05 20:23:54 +01:00
Janus
e85226a6b3
make function for determining who pays fee 2018-11-05 20:23:46 +01:00
SomberNight
77ce64bc58
fix prev 2018-11-05 20:23:45 +01:00
ThomasV
ecb6922456
lnrouter: filter out unsuitable channels 2018-11-05 20:23:45 +01:00
ThomasV
5243ca97d9
minor fix 2018-11-05 20:22:44 +01:00
ThomasV
1e3a91964d
add watchtower class, send encumbered tx as json 2018-11-05 20:19:05 +01:00
Janus
786ead4d83
rebase fixup: use new broadcast_transaction API 2018-11-05 20:19:03 +01:00
Janus
12bc0a75f8
rename lnhtlc->lnchan, HTLCStateMachine->Channel 2018-11-05 20:19:01 +01:00
Renamed from electrum/lnhtlc.py (Browse further)