mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 22:18:53 +00:00
python-rpc: add missing sync_txpool python entry point
This commit is contained in:
parent
77a008f714
commit
c6dc2850c2
@ -554,6 +554,16 @@ class Daemon(object):
|
|||||||
}
|
}
|
||||||
return self.rpc.send_json_rpc_request(flush_cache)
|
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):
|
def rpc_access_info(self, client):
|
||||||
rpc_access_info = {
|
rpc_access_info = {
|
||||||
'method': 'rpc_access_info',
|
'method': 'rpc_access_info',
|
||||||
|
Loading…
Reference in New Issue
Block a user