test: restart node after IPC option override test
What changed, and why it matters
This is a minor test-only cleanup change. It adds three lines to a Bitcoin Core functional test so that the test restarts and reconnects its internal test node after checking some command-line option overrides. There is no change to production code, no wallet or network behavior change for real users, and no security issue.
No security action needed. This is a routine test maintenance commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch appends self.restart_node(0), self.connect_nodes(0, 1), and self.miniwallet.rescan_utxos() at the end of interface_ipc_mining.py’s option-override test. The stated purpose is to restore node state so this test case no longer has to run last in the test suite. The diff touches only test/functional/interface_ipc_mining.py and does not modify any consensus, networking, wallet, or IPC implementation code.
Changed components
test/functional/interface_ipc_mining.pyInspect captured patch +3 / −0
diff --git a/test/functional/interface_ipc_mining.py b/test/functional/interface_ipc_mining.py
index b5a03280..4cbc6eb8 100755
--- a/test/functional/interface_ipc_mining.py
+++ b/test/functional/interface_ipc_mining.py
@@ -369,6 +369,9 @@ class IPCMiningTest(BitcoinTestFramework):
asyncio.run(capnp.run(async_routine()))
asyncio.run(capnp.run(async_routine_check_max_reserved_weight()))
asyncio.run(capnp.run(async_routine_check_sigops_limit()))
+ self.restart_node(0)
+ self.connect_nodes(0, 1)
+ self.miniwallet.rescan_utxos()
def run_waitnext_mining_policy_test(self):
"""Verify that waitNext() preserves the mining policy from -blockmintxfee
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.