mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 02:33:07 +02:00
rpc, log: add backgroundvalidation to getblockchaininfo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user