core-lightning/tests
niftynei 0617690981 coin_mvt/bkpr: add "stealable" tag to stealable outputs
If we expect further events for an onchain output (because we can steal
it away from the 'external'/rightful owner), we mark them.

This prevents us from marking a channel as 'onchain-resolved' before
all events that we're interested in have actually hit the chain.

Case that this matters:
Peer publishes a (cheating) unilateral close and a timeout htlc (which
we can steal).
We then steal the timeout htlc.

W/o the stealable flag, we'd have marked the channel as resolved when
the peer published the timeout htlc, which is incorrect as we're still
waiting for the resolution of that timeout htlc (b/c we *can* steal it).
2022-07-28 12:08:18 +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 pytest: don't copy db to query it. 2021-08-26 12:44:02 +09:30
fixtures.py pytest: set dblog-file when adding the dblog plugin (TEST_CHECK_DBSTMTS=1) 2022-07-26 09:33:40 -07:00
test_bookkeeper.py bkpr: add docs, change names to 'bkpr-*' 2022-07-28 12:08:18 +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 coin_mvt/bkpr: add "stealable" tag to stealable outputs 2022-07-28 12:08:18 +09:30
test_connection.py test nit: wait_for_mempool cleanup 2022-07-28 12:08:18 +09:30
test_db.py pytest: don't redirect stderr by default. 2022-07-21 15:37:05 -05:00
test_gossip.py pytest: don't redirect stderr by default. 2022-07-21 15:37:05 -05:00
test_invoices.py plugin: autoclean fix double free when re-enable, remove xfail mark from test_ 2022-07-16 14:19:05 +09:30
test_misc.py tests: local flake fix; l1 was waiting too long to reconnect 2022-07-26 15:11:30 -07:00
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py flake: permit test_v2_open_sigs_restart_while_dead to succeed/fail 2022-07-27 19:31:04 +09:30
test_pay.py bkpr: make sure there's always at least on difference in blockheights 2022-07-28 12:08:18 +09:30
test_plugin.py pytest: fix test_commando_rune flake. 2022-07-26 09:48:56 -07:00
test_wallet.py hsmtool: implement checkhsm. 2022-07-22 16:57:27 +02:00
utils.py bkpr: check for channel resolution for any "originated" event 2022-07-28 12:08:18 +09:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30