diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:41:40 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:41:40 +0200 |
commit | 1f01070a0c262e6eeaf37513087756832a2dee92 (patch) | |
tree | ce911db9f29b831cab8b54debc8502656742f582 /utils | |
parent | Merge pull request #5432 (diff) | |
parent | rpc: new sanity check on relayed transactions (diff) | |
download | monero-1f01070a0c262e6eeaf37513087756832a2dee92.tar.xz |
Merge pull request #5434
ccb996af rpc: new sanity check on relayed transactions (moneromooo-monero)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/python-rpc/framework/daemon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/daemon.py b/utils/python-rpc/framework/daemon.py index f4d5e90f0..04fc5b5cf 100644 --- a/utils/python-rpc/framework/daemon.py +++ b/utils/python-rpc/framework/daemon.py @@ -50,10 +50,11 @@ class Daemon(object): } return self.rpc.send_json_rpc_request(getblocktemplate) - def send_raw_transaction(self, tx_as_hex, do_not_relay = False): + def send_raw_transaction(self, tx_as_hex, do_not_relay = False, do_sanity_checks = True): send_raw_transaction = { 'tx_as_hex': tx_as_hex, 'do_not_relay': do_not_relay, + 'do_sanity_checks': do_sanity_checks, } return self.rpc.send_request("/send_raw_transaction", send_raw_transaction) |