lightning/tests
Rusty Russell a6d4756d08 commando: make rune alternatives a JSON array.
This avoids having to escape | or &, though we still allow that for
the deprecation period.

To detect deprecated usage, we insist that alternatives are *always*
an array (which could be loosened later), but that also means that
restrictions must *always* be an array for now.

Before:

```
# invoice, description either A or B
lightning-cli commando-rune '["method=invoice","pnamedescription=A|pnamedescription=B"]'
# invoice, description literally 'A|B'
lightning-cli commando-rune '["method=invoice","pnamedescription=A\\|B"]'
```

After:

```
# invoice, description either A or B
lightning-cli commando-rune '[["method=invoice"],["pnamedescription=A", "pnamedescription=B"]]'
# invoice, description literally 'A|B'
lightning-cli commando-rune '[["method=invoice"],["pnamedescription=A|B"]]'
```

Changelog-Deprecated: JSON-RPC: `commando-rune` restrictions is always an array, each element an array of alternatives.  Replaces a string with `|`-separators, so no escaping necessary except for `\\`.
2022-09-14 17:46:43 +02:00
..
data bkpr: migration to delete any duplicate lease_fee entries 2022-09-14 15:59:37 +09:30
fuzz fuzz: fix fuzzing compilation. 2022-07-25 08:08:32 -07:00
plugins Makefile: use a library archive for CCAN 2022-07-17 08:51:02 +09:30
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 test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
test_bookkeeper.py bkpr-test: maybe fix race in test_bookkeeping_closing_trimmed_htlcs 2022-09-14 15:59:37 +09:30
test_cln_rs.py pytest: Move generated grpc bindings to pyln-testing 2022-07-21 14:19:06 +09:30
test_closing.py lightningd: more graceful shutdown. 2022-09-12 14:00:41 +02:00
test_connection.py channeld/dualopend/lightningd: use channel_ready everywhere. 2022-09-12 09:34:52 +09:30
test_db.py pytest: don't redirect stderr by default. 2022-07-21 15:37:05 -05:00
test_gossip.py connectd: DNS Bolt7 #911 no longer EXPERIMENTAL 2022-09-13 06:42:20 +09:30
test_invoices.py lightnind: use aliases in routehints for private channels. 2022-08-09 16:31:36 -05:00
test_misc.py channeld/dualopend/lightningd: use channel_ready everywhere. 2022-09-12 09:34:52 +09:30
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py bkpr: confirm that replaying the open+lock-in txs at start is ok 2022-09-14 15:59:37 +09:30
test_pay.py wallet: Load and value completed_at timestamp from DB 2022-09-14 13:14:10 +02:00
test_plugin.py commando: make rune alternatives a JSON array. 2022-09-14 17:46:43 +02:00
test_wallet.py signpsbt: add utxo info to inputs 2022-08-13 12:57:03 -05:00
utils.py pytest: don't use bogus scids for first hop of route. 2022-08-09 16:33:24 -05:00
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30