mirror of
https://github.com/monero-project/monero.git
synced 2026-01-20 00:20:55 -08:00
Fix various oversights/bugs in ZMQ RPC server code
- Add some RPC commands (and touch up a couple others) - some bounds checking - some better pointer management - const correctness and error handling -- Thanks @vtnerd for type help with serialization and CMake changes
This commit is contained in:
@@ -92,6 +92,8 @@ class DaemonHandler : public RpcHandler
|
||||
|
||||
void handle(const GetBlockHeaderByHeight::Request& req, GetBlockHeaderByHeight::Response& res);
|
||||
|
||||
void handle(const GetBlockHeadersByHeight::Request& req, GetBlockHeadersByHeight::Response& res);
|
||||
|
||||
void handle(const GetBlock::Request& req, GetBlock::Response& res);
|
||||
|
||||
void handle(const GetPeerList::Request& req, GetPeerList::Response& res);
|
||||
@@ -108,10 +110,6 @@ class DaemonHandler : public RpcHandler
|
||||
|
||||
void handle(const StopDaemon::Request& req, StopDaemon::Response& res);
|
||||
|
||||
void handle(const FastExit::Request& req, FastExit::Response& res);
|
||||
|
||||
void handle(const OutPeers::Request& req, OutPeers::Response& res);
|
||||
|
||||
void handle(const StartSaveGraph::Request& req, StartSaveGraph::Response& res);
|
||||
|
||||
void handle(const StopSaveGraph::Request& req, StopSaveGraph::Response& res);
|
||||
|
||||
Reference in New Issue
Block a user