flo-electrum/lib
Janus 8dbd607f66 ln: restore channels correctly after restart
* save funding_locked_received: if a node already sent us
funding_locked, save it to avoid superfluous messages

* use Queues instead of Futures: this ensure that we don't error if we
receive two messages of the same type, and in avoids having to delete
futures in finally blocks. A queue monitor could be added to detect
queue elements that are not popped.

* request initial routing sync: since we don't store the graph yet, it
is better to request the graph from the Peer so that we can route

* channel_state cleanup: now each channel should have a state, which is
initialized to OPENING and only marked OPEN once we have verified that
the funding_tx has been mined
2018-06-26 19:31:41 +02:00
..
lightning_payencode fix lnaddr.py following rebase 2018-06-26 19:31:41 +02:00
tests fix channel_reestablish 2018-06-26 19:31:41 +02:00
wordlist
__init__.py
base_crash_reporter.py
base_wizard.py
bitcoin.py bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness 2018-06-26 19:30:08 +02:00
blockchain.py
checkpoints_testnet.json
checkpoints.json
coinchooser.py
commands.py ln: restore functionality 2018-06-26 19:31:41 +02:00
constants.py constants.py: Simnet inherits from Testnet 2018-06-26 19:30:08 +02:00
contacts.py
crypto.py update lnbase after crypto refactoring 2018-06-26 19:31:41 +02:00
currencies.json
daemon.py
dnssec.py
ecc_fast.py
ecc.py lightning: add payment methods to lnworker 2018-06-26 19:31:41 +02:00
exchange_rate.py
i18n.py
interface.py
jsonrpc.py
keystore.py lightning: add payment methods to lnworker 2018-06-26 19:31:41 +02:00
lightning.json lnbase: fix json loading and indentation 2018-06-26 19:28:29 +02:00
lnbase.py ln: restore channels correctly after restart 2018-06-26 19:31:41 +02:00
lnrouter.py fix channel_reestablish 2018-06-26 19:31:41 +02:00
lnworker.py ln: restore channels correctly after restart 2018-06-26 19:31:41 +02:00
mnemonic.py
msqr.py
network.py lightning: remove hub based approach, port qt gui to lnbase 2018-06-26 19:31:41 +02:00
old_mnemonic.py
paymentrequest_pb2.py
paymentrequest.proto
paymentrequest.py
pem.py
plot.py
plugins.py
qrscanner.py
ripemd.py
rsakey.py
segwit_addr.py avoid duplicating bech32 module 2018-06-26 19:30:08 +02:00
servers_regtest.json
servers_testnet.json
servers.json
simple_config.py lightning: add --simnet and --lightning switches 2018-06-26 19:28:29 +02:00
storage.py
synchronizer.py
transaction.py lnbase: offered htlc script construction 2018-06-26 19:30:07 +02:00
util.py minor clean-up of prev. util.xor_bytes 2018-06-26 19:30:08 +02:00
verifier.py
version.py
wallet.py lightning: move lnworker code to its own module 2018-06-26 19:31:41 +02:00
websockets.py
x509.py