core-lightning/tests
Rusty Russell 45193db7ea lightningd: add initializing state.
Importantly, the code in jsonrpc.c which actually does the io_break:

```
	/* Once the stop_conn conn is drained, we can shut down. */
	if (jcon->ld->stop_conn == conn && jcon->ld->state == LD_STATE_RUNNING) {
		/* Return us to toplevel lightningd.c */
		log_debug(jcon->ld->log, "io_break: %s", __func__);
		io_break(jcon->ld);
```

By having the state not set until later, we avoid running this.  Of course,
we need to avoid calling the main loop when we get there, if we've already
been told to shutdown.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-04-06 14:43:48 +02:00
..
data upgradewallet: JSONRPC call to update p2sh outputs to a native segwit 2023-02-04 15:31:16 +10:30
fuzz fuzz: fix check-src/includes when fuzzing enabled. 2023-04-05 06:12:24 +09:30
plugins libplugin: don't spew datastore errors to LOG_DEBUG. 2023-02-11 12:22:40 -06:00
vectors pytest: Remove onion test vectors containing legacy onions. 2022-03-18 09:20:11 +10:30
benchmark.py pytest: always provide payment_secret when making payments. 2021-07-14 14:38:00 -05:00
conftest.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
db.py test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
fixtures.py pyln.testing: remove Throttler. 2023-04-06 09:10:53 +09:30
test_bookkeeper.py dual-fund: remove anchor assumption for all dual-funded channels 2023-02-04 15:31:16 +10:30
test_cln_rs.py grpc: make the mTLS private keys user-readable only 2023-03-24 00:23:43 +00:00
test_closing.py lightningd: add listclosedchannels command. 2023-03-25 15:28:02 +10:30
test_connection.py channel: don't log scary disconnect message on unowned channels. 2023-04-06 07:06:26 +09:30
test_db.py wallet: fix up PSBTs as a migration. 2023-03-31 09:16:25 +10:30
test_gossip.py pytest: remove zombie test. 2023-03-06 16:15:22 -06:00
test_invoices.py lightningd: Add signinvoice to sign a BOLT11 invoice. 2023-02-06 15:54:32 -06:00
test_misc.py lightningd: add initializing state. 2023-04-06 14:43:48 +02:00
test_mkfunding.py pytest: add tests for devtools/mkfunding 2023-01-09 14:50:30 -06:00
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py test (df): check 'require-confirmed-inputs' for v2 opens 2023-02-07 21:03:36 -06:00
test_pay.py delpay: delete the payment by status from the db 2023-04-05 06:15:47 +09:30
test_plugin.py tests: commando-blacklist 2023-04-01 14:07:23 +10:30
test_wallet.py Add PSBT version setting RPC to aid with debugging and compatibility 2023-03-23 16:10:55 +10:30
utils.py More accurate elements commitment tx size estimation 2023-02-06 18:50:26 -06:00
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30