test: add blocks_key_path
Adds a convenience function to TestNode to provide the path to the blocks xor key. Updates util and feature_blocksxor to use it.
This commit is contained in:
3 files changed
+6
-2
No files matched your search
@@ -465,6 +465,10 @@ class TestNode():
|
||||
def blocks_path(self) -> Path:
|
||||
return self.chain_path / "blocks"
|
||||
|
||||
@property
|
||||
def blocks_key_path(self) -> Path:
|
||||
return self.blocks_path / "xor.dat"
|
||||
|
||||
@property
|
||||
def wallets_path(self) -> Path:
|
||||
return self.chain_path / "wallets"
|
||||
|
||||
Reference in new issue
Block a user