Christian Decker
e23d8a4aff
pytest: Mark some tests as skippable that are too bitcoin-specific
5 years ago
Christian Decker
90a69e04cd
elements: Skip DB migration tests if we're not running in regtest
Signed-off-by: Christian Decker <decker.christian@gmail.com>
6 years ago
Christian Decker
efc4aa94a3
pytest: Skip some tests that assume we have a sqlite3 db on postgres
These will not work since they touch the DB file itself.
Signed-off-by: Christian Decker <decker.christian@gmail.com>
5 years ago
Rusty Russell
714e7fb670
pytest: test db upgrade.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
5 years ago
Rusty Russell
686df235a2
pytest: fix race in test_block_backfill.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
5 years ago
lisa neigut
0c96c89d67
db-fix: resolve crash on fundchannel
Fixes error introduced by 1dbdc74bc
where a new fundchannel
can cause a crash after start if the max dbid is for a closed
channel.
5 years ago
Christian Decker
5e36257375
pytest: Test that we delete channels opened below our birth height
This was the initial issue that was addressed by #2756 and now we just test
that all is working as expected.
Signed-off-by: Christian Decker <decker.christian@gmail.com>
5 years ago
Christian Decker
98447e454e
gossip: Use the getfilteredblock method to look up scid outputs
Just a tiny shim to reconcile the `get_output` with `getfileteredblock`.
Signed-off-by: Christian Decker <decker.christian@gmail.com>
5 years ago
Christian Decker
5bb411b572
pytest: Add test for the block backfilling trigger by gossip
This is just the test that we use to verify block backfilling below the wallet
birth height is working correctly.
Signed-off-by: Christian Decker <decker.christian@gmail.com>
5 years ago
Rusty Russell
6ed54dd34e
db: fix dangling peers on db upgrade.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago
Rusty Russell
594f260de7
pytest: test starting with db corrupted by dangling peer.
db was taken from the failed test.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago