mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 08:56:09 -04:00
functional_tests: add get_transaction_pool_stats
Also fix part of the RPC results being returned as binary. This makes the RPC backward incompatible.
This commit is contained in:
parent
51bd45c352
commit
d53a55204f
3 changed files with 92 additions and 3 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue