|
@@ -2023,7 +2023,6 @@ class MoneroWalletOps:
|
|
class export_outputs(wallet):
|
|
class export_outputs(wallet):
|
|
action = 'exporting outputs from'
|
|
action = 'exporting outputs from'
|
|
stem = 'process'
|
|
stem = 'process'
|
|
- opts = ('rescan_blockchain',)
|
|
|
|
sign = False
|
|
sign = False
|
|
|
|
|
|
async def process_wallet(self,d,fn,last):
|
|
async def process_wallet(self,d,fn,last):
|
|
@@ -2035,6 +2034,11 @@ class MoneroWalletOps:
|
|
self.c.call('rescan_blockchain')
|
|
self.c.call('rescan_blockchain')
|
|
gmsg('done')
|
|
gmsg('done')
|
|
|
|
|
|
|
|
+ if self.cfg.rescan_spent:
|
|
|
|
+ gmsg_r('\n Rescanning spent outputs...')
|
|
|
|
+ self.c.call('rescan_spent')
|
|
|
|
+ gmsg('done')
|
|
|
|
+
|
|
self.head_msg(d.idx,h.fn)
|
|
self.head_msg(d.idx,h.fn)
|
|
for ftype in ('Unsigned','Signed'):
|
|
for ftype in ('Unsigned','Signed'):
|
|
old_fn = getattr(MoneroWalletOutputsFile,ftype).find_fn_from_wallet_fn(
|
|
old_fn = getattr(MoneroWalletOutputsFile,ftype).find_fn_from_wallet_fn(
|
|
@@ -2053,6 +2057,7 @@ class MoneroWalletOps:
|
|
return True
|
|
return True
|
|
|
|
|
|
class export_outputs_sign(export_outputs):
|
|
class export_outputs_sign(export_outputs):
|
|
|
|
+ opts = ('rescan_spent','rescan_blockchain')
|
|
sign = True
|
|
sign = True
|
|
|
|
|
|
class import_outputs(wallet):
|
|
class import_outputs(wallet):
|