diff options
author | Nathan Dorfman <ndorf@rtfm.net> | 2019-02-15 23:28:15 -0700 |
---|---|---|
committer | Nathan Dorfman <ndorf@rtfm.net> | 2019-02-27 16:55:04 -0700 |
commit | be6f426a3fe26d1df447d010e49e142645afa7a2 (patch) | |
tree | 37dc4257d8504826160412231c031870581e8827 /src/rpc/daemon_handler.h | |
parent | Merge pull request #4988 (diff) | |
download | monero-be6f426a3fe26d1df447d010e49e142645afa7a2.tar.xz |
rpc: Allow submitting tx as hex blob over ZMQ
Diffstat (limited to 'src/rpc/daemon_handler.h')
-rw-r--r-- | src/rpc/daemon_handler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/daemon_handler.h b/src/rpc/daemon_handler.h index 2c8ac3867..c3a130a04 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; }; |