LBRY-Vault/electrum
Janus 47c07f77b4 lnsweep: fix create_sweeptxs_for_their_just_revoked_ctx
in the case where an htlc is failed, it could happen
that we use the wrong list of htlcs to generate sweep
tx'es. we would use the pending list instead of the
committed list.

observed by sending 12300sat and then 123000sat,
the second payment fails and an AssertionError was
triggered cause the htlc output could not be found
in the ctx.

added some documentation to clarify the behaviour
of lnchan.included_htlcs.
2019-08-20 09:03:11 +02:00
..
gui lightning: post rebase qt gui fixes 2019-08-20 09:03:11 +02:00
plugins Travis CI: Use flake8 to find Python syntax errors and undefined names (#5467) 2019-08-11 22:35:23 +00:00
scripts scripts: simplify quick_start 2019-02-28 20:26:30 +01:00
tests use gossip_timestamp_filter instead of request_initial_sync 2019-08-20 09:03:11 +02:00
wordlist file reorganization with top-level module 2018-07-13 14:01:37 +02:00
__init__.py logging: cli options to filter for modules using -v 2019-05-02 15:19:10 +02:00
address_synchronizer.py lnwatcher rebased 2019-08-20 09:03:10 +02:00
base_crash_reporter.py added trigger_crash method for testing crash reporter 2019-07-04 18:06:21 +02:00
base_wizard.py wizard: try harder to have temporarily stored pw erased from memory 2019-08-14 17:27:38 +02:00
bip32.py wallet: stricter validation in export_private_key 2019-06-12 18:09:38 +02:00
bitcoin.py bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness 2019-08-20 09:03:09 +02:00
blockchain.py logging: basics 2019-05-02 15:19:03 +02:00
checkpoints.json update block header checkpoints 2019-08-09 18:59:21 +02:00
checkpoints_testnet.json update block header checkpoints 2019-08-09 18:59:21 +02:00
coinchooser.py wallet: fix type error in _bump_fee_through_decreasing_outputs 2019-07-04 17:23:34 +02:00
commands.py add command for listing invoices and their progress, fix list_channels 2019-08-20 09:03:11 +02:00
constants.py persist recent peers. implement dns seed bootstrapping. 2019-08-20 09:03:10 +02:00
contacts.py logging: basics 2019-05-02 15:19:03 +02:00
crypto.py update lnbase after crypto refactoring 2019-08-20 09:03:09 +02:00
currencies.json Removed dead exchange. 2019-07-21 13:13:51 +02:00
daemon.py watchtower: add watch_channel rpc 2019-08-20 09:03:11 +02:00
dnssec.py change many str(e) to repr(e) as some exceptions were cryptic 2019-07-17 20:12:52 +02:00
ecc.py persist channel db on disk. verify channel gossip sigs. 2019-08-20 09:03:10 +02:00
ecc_fast.py ecc_fast: require libsecp256k1 on lightning, channel graph breaks electrum without 2019-08-20 09:03:10 +02:00
electrum file reorganization with top-level module 2018-07-13 14:01:37 +02:00
exchange_rate.py Removed dead exchange. 2019-07-21 13:15:06 +02:00
i18n.py move get_default_language to gui.qt.util 2018-09-23 14:11:50 +05:00
interface.py wallet: fix offline hw wallet signing when not specifying --offline 2019-07-29 13:27:37 +02:00
json_db.py storage: better error msg on unsupported seed version 2019-08-09 18:11:50 +02:00
jsonrpc.py remote watchtower: initial commit 2019-08-20 09:03:10 +02:00
keystore.py lightning: add payment methods to lnworker 2019-08-20 09:03:09 +02:00
lightning.json update lightning.json 2019-08-20 09:03:11 +02:00
lnaddr.py lnaddr: make it possible to use lnaddr to decode arbitrary invoices on the cmd line 2019-08-20 09:03:11 +02:00
lnbase.py use gossip_timestamp_filter instead of request_initial_sync 2019-08-20 09:03:11 +02:00
lnchan.py lnsweep: fix create_sweeptxs_for_their_just_revoked_ctx 2019-08-20 09:03:11 +02:00
lnchannelverifier.py after rebase clean-up 2019-08-20 09:03:10 +02:00
lnonion.py add pycryptodomex to requirements 2019-08-20 09:03:11 +02:00
lnrouter.py after rebase fixes 2019-08-20 09:03:11 +02:00
lnsweep.py lnsweep: fix create_sweeptxs_for_their_just_revoked_ctx 2019-08-20 09:03:11 +02:00
lntransport.py add pycryptodomex to requirements 2019-08-20 09:03:11 +02:00
lnutil.py qt: channel_details: add more info: sent/received, channel id, funding tx, short channel id, node id 2019-08-20 09:03:11 +02:00
lnwatcher.py further simplify lnwatcher 2019-08-20 09:03:11 +02:00
lnworker.py use gossip_timestamp_filter instead of request_initial_sync 2019-08-20 09:03:11 +02:00
logging.py Travis CI: Use flake8 to find Python syntax errors and undefined names (#5467) 2019-08-11 22:35:23 +00:00
mnemonic.py commands: change API of "make_seed" and "create" commands 2019-08-09 22:02:01 +02:00
msqr.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
network.py persist nodes in channel_db on disk 2019-08-20 09:03:10 +02:00
old_mnemonic.py mv "electrum seed" stuff from bitcoin.py to mnemonic.py 2019-02-22 18:01:54 +01:00
paymentrequest.proto file reorganization with top-level module 2018-07-13 14:01:37 +02:00
paymentrequest.py bip70 payreq: do not show error messages in gui 2019-06-05 19:40:33 +02:00
paymentrequest_pb2.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
pem.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
plot.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
plugin.py change many str(e) to repr(e) as some exceptions were cryptic 2019-07-17 20:12:52 +02:00
qrscanner.py rename contrib/build-osx as contrib/osx. Move QRReader submodule there. 2018-11-29 11:39:57 +01:00
ripemd.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
rsakey.py no more "import *" 2019-02-11 20:21:24 +01:00
segwit_addr.py avoid duplicating bech32 module 2019-08-20 09:03:09 +02:00
servers.json servers: follow-up prev 2019-07-06 00:35:03 +02:00
servers_regtest.json file reorganization with top-level module 2018-07-13 14:01:37 +02:00
servers_testnet.json servers: update testnet default list 2019-04-27 23:10:12 +02:00
simple_config.py unify hardcoded regtest fee 2019-08-20 09:03:10 +02:00
storage.py storage: fix some madness about get_data_ref() and put() interacting badly 2019-06-06 19:49:06 +02:00
synchronizer.py change many str(e) to repr(e) as some exceptions were cryptic 2019-07-17 20:12:52 +02:00
transaction.py move sweeping methods from lnchan.py to new file 2019-08-20 09:03:11 +02:00
util.py persist recent peers. implement dns seed bootstrapping. 2019-08-20 09:03:10 +02:00
verifier.py channel verifier: NetworkJobOnDefaultServer, and some error handling 2019-08-20 09:03:10 +02:00
version.py commands: change API of "make_seed" and "create" commands 2019-08-09 22:02:01 +02:00
wallet.py add lnworker in start_network 2019-08-20 09:03:10 +02:00
websockets.py logging: basics 2019-05-02 15:19:03 +02:00
x509.py logging: cli options to filter for modules using -v 2019-05-02 15:19:10 +02:00