aboutsummaryrefslogtreecommitdiff
path: root/utils/python-rpc
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2022-08-16 20:20:38 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2022-09-07 06:22:07 +0000
commit0cbf5571d3ccd07c81d33b05dd23b2ac9c777c3b (patch)
tree730222eb6e3e089d09bb53c86f6fa8fbbca0c9a1 /utils/python-rpc
parentwallet2: fixes for export/import output flow (diff)
downloadmonero-0cbf5571d3ccd07c81d33b05dd23b2ac9c777c3b.tar.xz
allow exporting outputs in chunks
this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
Diffstat (limited to 'utils/python-rpc')
-rw-r--r--utils/python-rpc/framework/wallet.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py
index 01e937627..f2618b0a8 100644
--- a/utils/python-rpc/framework/wallet.py
+++ b/utils/python-rpc/framework/wallet.py
@@ -763,10 +763,13 @@ class Wallet(object):
}
return self.rpc.send_json_rpc_request(get_languages)
- def export_outputs(self):
+ def export_outputs(self, all = False, start = 0, count = 0xffffffff):
export_outputs = {
'method': 'export_outputs',
'params': {
+ 'all': all,
+ 'start': start,
+ 'count': count,
},
'jsonrpc': '2.0',
'id': '0'