LBRY-Vault/electrum
SomberNight 014b921393 lnpeer: reestablish_channel - replay un-acked local updates
Replay un-acked local updates (including commitment_signed) byte-for-byte.
If we have sent them a commitment signature that they "lost" (due to disconnect),
we need to make sure we replay the same local updates, as otherwise they could
end up with two (or more) signed valid commitment transactions at the same ctn.
Multiple valid ctxs at the same ctn is a major headache for pre-signing spending txns,
e.g. for watchtowers, hence we must ensure these ctxs coincide.
2019-08-20 09:03:12 +02:00
..
gui kivy fix: get_latest_feerate 2019-08-20 09:03:12 +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 lnhtlc: move 'next_htlc_id' from ChannelConfig to lnhtlc log 2019-08-20 09:03:12 +02:00
wordlist
__init__.py logging: cli options to filter for modules using -v 2019-05-02 15:19:10 +02:00
address_synchronizer.py add future transactions to address synchronizer 2019-08-20 09:03:11 +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
channel_db.py Do not route through channels for which we did not receive 2019-08-20 09:03:12 +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 cli: fix add_peer cmd 2019-08-20 09:03:12 +02:00
constants.py move lnworker.first_block to constants 2019-08-20 09:03:11 +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 Synchronize watchtower asynchronously: 2019-08-20 09:03:12 +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
exchange_rate.py Removed dead exchange. 2019-07-21 13:15:06 +02:00
i18n.py
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 lnworker.get_invoice_status: test if invoice is expired 2019-08-20 09:03:12 +02:00
lnchannel.py lnhtlc: move 'next_htlc_id' from ChannelConfig to lnhtlc log 2019-08-20 09:03:12 +02:00
lnhtlc.py lnpeer: reestablish_channel - replay un-acked local updates 2019-08-20 09:03:12 +02:00
lnmsg.py fix encode_msg: optional fields were not sent 2019-08-20 09:03:12 +02:00
lnonion.py add pycryptodomex to requirements 2019-08-20 09:03:11 +02:00
lnpeer.py lnpeer: reestablish_channel - replay un-acked local updates 2019-08-20 09:03:12 +02:00
lnrouter.py follow-up prev commit: pass is_mine to _edge_cost 2019-08-20 09:03:12 +02:00
lnsweep.py Synchronize watchtower asynchronously: 2019-08-20 09:03:12 +02:00
lntransport.py move LNPeer handshake back into initialize 2019-08-20 09:03:11 +02:00
lnutil.py lnhtlc: move 'next_htlc_id' from ChannelConfig to lnhtlc log 2019-08-20 09:03:12 +02:00
lnverifier.py verify node and channel announcements before entering sql lock 2019-08-20 09:03:11 +02:00
lnwatcher.py fix: remove unused parameter to add_sweep_tx 2019-08-20 09:03:12 +02:00
lnworker.py lnworker: small clean-up of short_channel_id format 2019-08-20 09:03:12 +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
network.py Synchronize watchtower asynchronously: 2019-08-20 09:03:12 +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
paymentrequest.py gui: show incoming lightning requests, add on-chain icon 2019-08-20 09:03:11 +02:00
paymentrequest_pb2.py
pem.py
plot.py
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
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
servers_testnet.json servers: update testnet default list 2019-04-27 23:10:12 +02:00
simple_config.py lnworker: do not create sweep transactions before outputs can be redeemed 2019-08-20 09:03:11 +02:00
sql_db.py get rid of sql_alchemy 2019-08-20 09:03:12 +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 ln: remove EncumberedTransaction 2019-08-20 09:03:11 +02:00
util.py lightning: 2019-08-20 09:03:11 +02:00
verifier.py post rebase fixes 2019-08-20 09:03:11 +02:00
version.py commands: change API of "make_seed" and "create" commands 2019-08-09 22:02:01 +02:00
wallet.py Rework wallet history methods: 2019-08-20 09:03:12 +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