aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-05-27 13:09:50 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-05-27 13:11:00 +0000
commitc6dc2850c20344b23342aea0fb56026eb17f32ca (patch)
tree645e7246db463a2b53e68cf178b3154af74d93f2 /utils
parentMerge pull request #6510 (diff)
downloadmonero-c6dc2850c20344b23342aea0fb56026eb17f32ca.tar.xz
python-rpc: add missing sync_txpool python entry point
Diffstat (limited to 'utils')
-rw-r--r--utils/python-rpc/framework/daemon.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/python-rpc/framework/daemon.py b/utils/python-rpc/framework/daemon.py
index 074f8de37..996137814 100644
--- a/utils/python-rpc/framework/daemon.py
+++ b/utils/python-rpc/framework/daemon.py
@@ -554,6 +554,16 @@ class Daemon(object):
}
return self.rpc.send_json_rpc_request(flush_cache)
+ def sync_txpool(self):
+ sync_txpool = {
+ 'method': 'sync_txpool',
+ 'params': {
+ },
+ 'jsonrpc': '2.0',
+ 'id': '0'
+ }
+ return self.rpc.send_json_rpc_request(sync_txpool)
+
def rpc_access_info(self, client):
rpc_access_info = {
'method': 'rpc_access_info',