diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-08-16 20:20:38 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-08-18 06:53:41 +0000 |
commit | c5579ac236962ac71cf39bd1928690fe7e1d1899 (patch) | |
tree | 00ab5fccb7d27531d611525e373d182ac09f5d9f /utils/python-rpc/framework/wallet.py | |
parent | wallet2: fixes for export/import output flow (diff) | |
download | monero-c5579ac236962ac71cf39bd1928690fe7e1d1899.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 '')
-rw-r--r-- | utils/python-rpc/framework/wallet.py | 5 |
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' |