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:
3 files changed
+41
-3
No files matched your search
@@ -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])
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user