mirror of
https://github.com/monero-project/monero.git
synced 2026-01-27 07:14:35 -08:00
functional_tests: add more transfer tests
manual relay, transfer to integrated address, and a few negative transfer tests
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user