LBRY-Vault/electrum/tests
SomberNight 1bd9b3a66a
commands: fix "restore" cmd
Previously commands did not run on the asyncio thread but now they do.
"restore" was polling like "while 1: time.sleep()", blocking the event loop.

Now "restore" does not sync the wallet; which is actually cleaner
as previously this wallet would never get unloaded from the daemon (syncing forever).

This is also symmetric with the "create" cmd which also does not try to sync with the network.

However now it became difficult to write a script that restores a wallet and wants to wait
until it gets synced. Workaround for now is to poll with "list_wallets" whether it's synced.

We could create a new command that blocks until the loaded wallet gets synced.
2019-09-04 20:15:54 +02:00
..
regtest replace daemon 'start' subdommand with -d 2019-09-02 19:04:08 +02:00
__init__.py fix prev 2019-05-03 03:13:43 +02:00
regtest.py remove redundant 'stop' in regtest setUp (should run a bit faster) 2019-08-31 08:49:31 +02:00
test_bitcoin.py bitcoin: stricter check on WIF for compressed pubkeys 2019-04-25 14:35:16 +02:00
test_blockchain.py Unit tests for Blockchain.verify_header. 2019-07-28 13:23:20 +02:00
test_bolt11.py fix ln tests 2019-08-20 09:03:11 +02:00
test_commands.py Rewrite JsonRPC requests using asyncio. 2019-08-20 09:03:12 +02:00
test_dnssec.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
test_lnchannel.py Use NamedTuple notation for TxOutput in test_lnchannel 2019-08-25 06:51:31 +00:00
test_lnhtlc.py lnhtlc: htlcs_by_direction now returns dict keyed by htlc_id 2019-08-20 09:03:12 +02:00
test_lnpeer.py Rewrite JsonRPC requests using asyncio. 2019-08-20 09:03:12 +02:00
test_lnrouter.py test_lnrouter: Pull in chain_hash from constants 2019-08-25 07:19:36 +00:00
test_lntransport.py fix tests 2019-08-20 09:03:11 +02:00
test_lnutil.py lnchannel: ctx output-ordering: identical htlcs are ordered by CLTV 2019-08-20 09:03:12 +02:00
test_mnemonic.py commands: change API of "make_seed" and "create" commands 2019-08-09 22:02:01 +02:00
test_network.py blockchain.py: generalise fork ids to get rid of conflicts 2018-11-22 16:57:22 +01:00
test_revealer.py revealer: fix unlucky hex seed causing crash 2018-12-15 09:05:12 +01:00
test_simple_config.py Remove unneccessary imports from the unit testing directory. (#4699) 2018-09-08 17:24:23 +02:00
test_storage_upgrade.py storage: fix some madness about get_data_ref() and put() interacting badly 2019-06-06 19:49:06 +02:00
test_transaction.py ln: remove EncumberedTransaction 2019-08-20 09:03:11 +02:00
test_util.py persist nodes in channel_db on disk 2019-08-20 09:03:10 +02:00
test_wallet.py commands: fix "restore" cmd 2019-09-04 20:15:54 +02:00
test_wallet_vertical.py transaction: fix remove_signatures 2019-07-05 21:16:58 +02:00
test_x509.py x509: handle dates in the 22nd century 2018-08-24 14:56:58 +02:00