diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-09 18:36:19 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-17 11:38:29 +0000 |
commit | d53a55204fd0c10845b8872837ff14aff17ff1c0 (patch) | |
tree | 47a014ba36eaf5b7d4be3bbd6fe60e737410fce6 /utils/python-rpc | |
parent | functional_tests: add save_bc (diff) | |
download | monero-d53a55204fd0c10845b8872837ff14aff17ff1c0.tar.xz |
functional_tests: add get_transaction_pool_stats
Also fix part of the RPC results being returned as binary.
This makes the RPC backward incompatible.
Diffstat (limited to 'utils/python-rpc')
-rw-r--r-- | utils/python-rpc/framework/daemon.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/python-rpc/framework/daemon.py b/utils/python-rpc/framework/daemon.py index f9bc51eb2..89b13b951 100644 --- a/utils/python-rpc/framework/daemon.py +++ b/utils/python-rpc/framework/daemon.py @@ -208,6 +208,11 @@ class Daemon(object): } return self.rpc.send_request('/get_transaction_pool_hashes', get_transaction_pool_hashes) + def get_transaction_pool_stats(self): + get_transaction_pool_stats = { + } + return self.rpc.send_request('/get_transaction_pool_stats', get_transaction_pool_stats) + def flush_txpool(self, txids = []): flush_txpool = { 'method': 'flush_txpool', |