diff options
| author | Riccardo Spagni <ric@spagni.net> | 2019-03-24 19:33:35 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2019-03-24 19:33:36 +0200 |
| commit | 0920ac76429419699ff620e73bf6b46a1d012097 (patch) | |
| tree | 3a53c6754b886015605e708fd6d0b7dca26acc75 /src/rpc/daemon_handler.h | |
| parent | de4ca3f14e404e13b2cdfbe140447105a2d35b30 (diff) | |
| parent | be6f426a3fe26d1df447d010e49e142645afa7a2 (diff) | |
| download | monzero-core-0920ac76429419699ff620e73bf6b46a1d012097.tar.gz monzero-core-0920ac76429419699ff620e73bf6b46a1d012097.tar.xz monzero-core-0920ac76429419699ff620e73bf6b46a1d012097.zip | |
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.h | 4 |
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; }; |
