diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-08-16 12:41:10 -0700 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-08-16 12:41:10 -0700 |
commit | 9eebe01c58f4a99ae350148ecc86aa8159e53b4e (patch) | |
tree | 1f635e60647f9263bda4f5afca1bffd774363c82 /utils | |
parent | Merge pull request #6546 (diff) | |
parent | tests: fix missing error on missing python entry point (diff) | |
download | monero-9eebe01c58f4a99ae350148ecc86aa8159e53b4e.tar.xz |
Merge pull request #6593
6f5411d30 tests: fix missing error on missing python entry point (moneromooo-monero)
c6dc2850c python-rpc: add missing sync_txpool python entry point (moneromooo-monero)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/python-rpc/framework/daemon.py | 10 |
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', |