aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/daemon_handler.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-24 19:33:35 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-24 19:33:36 +0200
commit0920ac76429419699ff620e73bf6b46a1d012097 (patch)
tree3a53c6754b886015605e708fd6d0b7dca26acc75 /src/rpc/daemon_handler.h
parentMerge pull request #5324 (diff)
parentrpc: Allow submitting tx as hex blob over ZMQ (diff)
downloadmonero-0920ac76429419699ff620e73bf6b46a1d012097.tar.xz
Merge pull request #5207
be6f426a rpc: Allow submitting tx as hex blob over ZMQ (Nathan Dorfman)
Diffstat (limited to 'src/rpc/daemon_handler.h')
-rw-r--r--src/rpc/daemon_handler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/daemon_handler.h b/src/rpc/daemon_handler.h
index 87161784e..34723f676 100644
--- a/src/rpc/daemon_handler.h
+++ b/src/rpc/daemon_handler.h
@@ -68,6 +68,8 @@ class DaemonHandler : public RpcHandler
void handle(const SendRawTx::Request& req, SendRawTx::Response& res);
+ void handle(const SendRawTxHex::Request& req, SendRawTxHex::Response& res);
+
void handle(const StartMining::Request& req, StartMining::Response& res);
void handle(const GetInfo::Request& req, GetInfo::Response& res);
@@ -136,6 +138,8 @@ class DaemonHandler : public RpcHandler
bool getBlockHeaderByHash(const crypto::hash& hash_in, cryptonote::rpc::BlockHeaderResponse& response);
+ void handleTxBlob(const std::string& tx_blob, bool relay, SendRawTx::Response& res);
+
cryptonote::core& m_core;
t_p2p& m_p2p;
};