(self)
| 352 | self.log.info("Success") |
| 353 | |
| 354 | def wallet_test(self): |
| 355 | # check that the pruning node's wallet is still in good shape |
| 356 | self.log.info("Stop and start pruning node to trigger wallet rescan") |
| 357 | self.restart_node(2, extra_args=["-prune=550"]) |
| 358 | self.log.info("Success") |
| 359 | |
| 360 | # check that wallet loads successfully when restarting a pruned node after IBD. |
| 361 | # this was reported to fail in #7494. |
| 362 | self.log.info("Syncing node 5 to test wallet") |
| 363 | self.connect_nodes(0, 5) |
| 364 | nds = [self.nodes[0], self.nodes[5]] |
| 365 | self.sync_blocks(nds, wait=5, timeout=300) |
| 366 | self.restart_node(5, extra_args=["-prune=550"]) # restart to trigger rescan |
| 367 | self.log.info("Success") |
| 368 | |
| 369 | def run_test(self): |
| 370 | self.log.info("Warning! This test requires 4GB of disk space") |
no test coverage detected