core-lightning/tests
niftynei 8452d903b4 bkpr: failing test for bookkeeper crash
Reproduce crash for #5557!

If we record the channel open because bookkeeper was added after the
channel open request started but the channel confirms later, we end up
with re-recording any associated push or leased fees (paid or rcvd).

In the case where you've paid for these fees, your channel balance goes
negative and the node crashes the next time you call `listbalances`.

Reported-by: @chrisguida
2022-09-14 15:59:37 +09:30
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +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: let channel reconnect, flake? 2022-08-10 10:30:45 -05:00
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: failing test for bookkeeper crash 2022-09-14 15:59:37 +09:30
test_pay.py offers: remove backwards-compatiblity invoice_request signatures. 2022-09-12 09:34:52 +09:30
test_plugin.py lightningd: more graceful shutdown. 2022-09-12 14:00:41 +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