tests: add a datadir migration functional test

This is currently to test database migrations at the functional level, but
is also more generally useful to test backward compatibility.
This commit is contained in:
Antoine Poinsot committed 2023-04-05 17:30:01 +02:00
1 parent 76deaab988
commit 96ff447fc9
3 files changed
+41 -3

No files matched your search

+1
View File
@@ -74,6 +74,7 @@ class SingleSigner:
:param psbt: PSBT of the transaction to be signed.
:returns: PSBT with a signature in each input for the specified key.
"""
assert isinstance(recovery, bool)
return sign_psbt(psbt, [self.recovery_hd if recovery else self.primary_hd])
+1
View File
@@ -22,6 +22,7 @@ DEFAULT_MS_PATH = os.path.join(
LIANAD_PATH = os.getenv("LIANAD_PATH", DEFAULT_MS_PATH)
DEFAULT_BITCOIND_PATH = "bitcoind"
BITCOIND_PATH = os.getenv("BITCOIND_PATH", DEFAULT_BITCOIND_PATH)
OLD_LIANAD_PATH = os.getenv("OLD_LIANAD_PATH", None)
COIN = 10 ** 8