core-lightning/tests
Rusty Russell 1e3cb01546 bolt12: import the latest spec, update to fit.
I know this is an unforgivably large diff, but the spec has changed so
much that most of this amounts to a rewrite.

Some points:
* We no longer have "offer_id" fields, we generate that locally, as all
  offer fields are mirrored into invoice_request and then invoice.
* Because of that mirroring, field names all have explicit offer/invreq/invoice
  prefixes.
* The `refund_for` fields have been removed from spec: will re-add locally later.
* quantity_min was removed, max == 0 now mean "must specify a quantity".
* I have put recurrence fields back in locally.

This brings us to 655df03d8729c0918bdacac99eb13fdb0ee93345 ("BOLT 12:
add explicit invoice_node_id.")

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-11-09 15:08:03 +01:00
..
data pytest: add test for migrations upgrade which breaks 'fees_collected_msat'. 2022-09-27 14:42:03 +09:30
fuzz tests/fuzz: don't pull in JSON common at all. 2022-11-09 20:25:58 +10:30
plugins lightningd: figure out optimal channel *before* forward_htlc hook. 2022-09-26 13:52:04 +02: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 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: Add test for optional options in cln-plugin 2022-11-03 11:28:22 +01:00
test_closing.py pytest: fix flake in test_onchain_different_fees 2022-09-23 14:40:16 -05:00
test_connection.py common/features: add explicit bolt12 feature sets. 2022-11-09 15:08:03 +01:00
test_db.py delforward: allow deletion of "unknown in_htlc_id" and fix autoclean to use it. 2022-09-27 14:42:03 +09:30
test_gossip.py pytest: test for gossip store corruption by private channel updates 2022-11-03 11:29:11 +01:00
test_invoices.py gossipd: don't close non-local channels immediately, add 12 block delay. 2022-09-24 15:22:27 +09:30
test_misc.py lightning-cli: support --filter parameter. 2022-11-09 20:25:58 +10:30
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py wallet: mark coinbase outputs as 'immature' until spendable 2022-11-09 11:55:25 +01:00
test_pay.py bolt12: import the latest spec, update to fit. 2022-11-09 15:08:03 +01:00
test_plugin.py common/sphinx: don't use fixed lengths anywhere. 2022-11-08 17:40:57 +01:00
test_wallet.py lightningd: don't log JSON ids as debug, use log io. 2022-09-16 12:31:45 +09:30
utils.py db: add scid field to channels table. 2022-09-22 15:19:46 +02:00
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30