diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -55,7 +55,6 @@ boost::signals2::signal Started; boost::signals2::signal Stopped; boost::signals2::signal PreCommand; - boost::signals2::signal PostCommand; } g_rpcSignals; void RPCServerSignals::OnStarted(std::function slot) { @@ -71,11 +70,6 @@ g_rpcSignals.PreCommand.connect(boost::bind(slot, _1)); } -void RPCServerSignals::OnPostCommand( - std::function slot) { - g_rpcSignals.PostCommand.connect(boost::bind(slot, _1)); -} - void RPCTypeCheck(const UniValue ¶ms, const std::list &typesExpected, bool fAllowNull) { @@ -519,8 +513,6 @@ } catch (const std::exception &e) { throw JSONRPCError(RPC_MISC_ERROR, e.what()); } - - g_rpcSignals.PostCommand(*pcmd); } std::vector CRPCTable::listCommands() const {