rgb-cln/tests
niftynei ef1e36efe5 mfc: check that we can retry when things go haywire
There's a version of this that keeps the PSBT in memory and does some
fancy addition/subtraction of unuseable parts for the v2's, however
it's much easier and simpler to simply error on the peer and re-start
from the very beginning.

This only works if we haven't gotten commitments from the peer yet (in
fact either method would only work if we haven't got commitments from
the peer yet), so if we've got commitments from them we simply mark them
as failed an go again.

In a perfect world, we'd remember what inputs we used last time, and
reuse those again on the re-attempt, which would pefectly guarantee both
that the failed opens (ones w/ commitments exchanged) would be canceled
after this completes (and we could re-try the failed again).

As it is, this is not perfect. It is, however, servicable.
2021-03-15 14:08:44 +10:30
..
data wallet: Add migration to cache local basepoints from the HSMd 2021-03-09 14:58:29 +10:30
fuzz check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
plugins df: update the openchannel2 parameter 'accepter' -> 'our' 2021-03-12 14:00:19 +10:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py pytest: silence pytest warnings about unregistered 'slow_test' marker 2020-11-10 16:17:04 -06:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: Really only check DB statements if the env-var is "1" 2021-01-04 11:25:50 +01:00
test_closing.py pytest: reduce test to edgecases for CI. 2021-03-02 14:42:34 +10:30
test_connection.py Revert "df: turn off integration tests that depend on v2 funding" 2021-03-06 15:03:56 +10:30
test_db.py wallet: Load local basepoints from the database alongside the hsmd 2021-03-09 14:58:29 +10:30
test_gossip.py lightningd: addgossip API to inject gossip messages. 2021-02-02 13:44:01 +01:00
test_invoices.py invoice: add ctlv option. 2021-01-08 10:45:56 +01:00
test_misc.py plugin: Do not send the internal framed message over the wire 2021-03-09 14:39:22 +10:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_opening.py mfc: check that we can retry when things go haywire 2021-03-15 14:08:44 +10:30
test_pay.py pay: Abort the payment if destination is unreachable 2021-03-11 14:09:51 +10:30
test_plugin.py pytest: test rpc_command hook chain 2021-03-03 09:18:53 +10:30
test_wallet.py fund/utxopsbt: flag 'excess_as_change' to add a change output for excess 2021-02-04 13:25:34 -06:00
utils.py common: support opt_shutdown_anysegwit checks (EXPERIMENTAL_FEATURES). 2021-03-02 14:42:34 +10:30