functional_tests: add get_fee_estimate to blockchain test

This commit is contained in:
moneromooo-monero 2019-04-24 13:25:21 +00:00
parent 475481949a
commit 1a93aa4b79
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 23 additions and 0 deletions

View file

@ -330,3 +330,14 @@ class Daemon(object):
'id': '0'
}
return self.rpc.send_json_rpc_request(get_alternate_chains)
def get_fee_estimate(self, grace_blocks = 0):
get_fee_estimate = {
'method': 'get_fee_estimate',
'params': {
'grace_blocks': grace_blocks,
},
'jsonrpc': '2.0',
'id': '0'
}
return self.rpc.send_json_rpc_request(get_fee_estimate)