Merge pull request #5207
be6f426a rpc: Allow submitting tx as hex blob over ZMQ (Nathan Dorfman)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user