Changeset View
Changeset View
Standalone View
Standalone View
test/functional/wallet_basic.py
Show First 20 Lines • Show All 484 Lines • ▼ Show 20 Lines | def run_test(self): | ||||
assert label in self.nodes[0].listlabels() | assert label in self.nodes[0].listlabels() | ||||
# restore to default | # restore to default | ||||
self.nodes[0].rpc.ensure_ascii = True | self.nodes[0].rpc.ensure_ascii = True | ||||
# maintenance tests | # maintenance tests | ||||
maintenance = [ | maintenance = [ | ||||
'-rescan', | '-rescan', | ||||
'-reindex', | '-reindex', | ||||
'-zapwallettxes=1', | |||||
'-zapwallettxes=2', | |||||
] | ] | ||||
chainlimit = 6 | chainlimit = 6 | ||||
for m in maintenance: | for m in maintenance: | ||||
self.log.info("check " + m) | self.log.info("check " + m) | ||||
self.stop_nodes() | self.stop_nodes() | ||||
# set lower ancestor limit for later | # set lower ancestor limit for later | ||||
self.start_node( | self.start_node( | ||||
0, self.extra_args[0] + [m, "-limitancestorcount=" + str(chainlimit)]) | 0, self.extra_args[0] + [m, "-limitancestorcount=" + str(chainlimit)]) | ||||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |