functional_tests: add more transfer tests

manual relay, transfer to integrated address, and a few negative
transfer tests
This commit is contained in:
moneromooo-monero
2019-03-19 16:21:06 +00:00
parent 5d580bfa9c
commit a3144bd7c8
2 changed files with 60 additions and 6 deletions

View File

@@ -47,6 +47,13 @@ class Daemon(object):
}
return self.rpc.send_json_rpc_request(getblocktemplate)
def send_raw_transaction(self, tx_as_hex, do_not_relay = False):
send_raw_transaction = {
'tx_as_hex': tx_as_hex,
'do_not_relay': do_not_relay,
}
return self.rpc.send_request("/send_raw_transaction", send_raw_transaction)
def submitblock(self, block):
submitblock = {
'method': 'submitblock',