aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/daemon_messages.h
diff options
context:
space:
mode:
authorNathan Dorfman <ndorf@rtfm.net>2019-02-15 23:28:15 -0700
committerNathan Dorfman <ndorf@rtfm.net>2019-02-27 16:55:04 -0700
commitbe6f426a3fe26d1df447d010e49e142645afa7a2 (patch)
tree37dc4257d8504826160412231c031870581e8827 /src/rpc/daemon_messages.h
parentMerge pull request #4988 (diff)
downloadmonero-be6f426a3fe26d1df447d010e49e142645afa7a2.tar.xz
rpc: Allow submitting tx as hex blob over ZMQ
Diffstat (limited to 'src/rpc/daemon_messages.h')
-rw-r--r--src/rpc/daemon_messages.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rpc/daemon_messages.h b/src/rpc/daemon_messages.h
index d2014247c..6a13b4e69 100644
--- a/src/rpc/daemon_messages.h
+++ b/src/rpc/daemon_messages.h
@@ -171,6 +171,14 @@ BEGIN_RPC_MESSAGE_CLASS(SendRawTx);
END_RPC_MESSAGE_RESPONSE;
END_RPC_MESSAGE_CLASS;
+BEGIN_RPC_MESSAGE_CLASS(SendRawTxHex);
+ BEGIN_RPC_MESSAGE_REQUEST;
+ RPC_MESSAGE_MEMBER(std::string, tx_as_hex);
+ RPC_MESSAGE_MEMBER(bool, relay);
+ END_RPC_MESSAGE_REQUEST;
+ using Response = SendRawTx::Response;
+END_RPC_MESSAGE_CLASS;
+
BEGIN_RPC_MESSAGE_CLASS(StartMining);
BEGIN_RPC_MESSAGE_REQUEST;
RPC_MESSAGE_MEMBER(std::string, miner_address);