mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 07:10:46 -08: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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user