rpc, log: add backgroundvalidation to getblockchaininfo

This commit is contained in:
Pol Espinasa
2025-08-27 00:56:17 +02:00
parent 5b2e4c4a88
commit a3d6f32a39
2 changed files with 28 additions and 3 deletions

View File

@@ -170,6 +170,9 @@ class BlockchainTest(BitcoinTestFramework):
assert res['pruned']
assert not res['automatic_pruning']
# check background validation is not present when we are not using assumeutxo
assert "backgroundvalidation" not in res.keys()
self.restart_node(0, ['-stopatheight=207'])
res = self.nodes[0].getblockchaininfo()
# should have exact keys