Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115745
D1885.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D1885.diff
View Options
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<void()> Started;
boost::signals2::signal<void()> Stopped;
boost::signals2::signal<void(const ContextFreeRPCCommand &)> PreCommand;
- boost::signals2::signal<void(const ContextFreeRPCCommand &)> PostCommand;
} g_rpcSignals;
void RPCServerSignals::OnStarted(std::function<void()> slot) {
@@ -71,11 +70,6 @@
g_rpcSignals.PreCommand.connect(boost::bind(slot, _1));
}
-void RPCServerSignals::OnPostCommand(
- std::function<void(const ContextFreeRPCCommand &)> slot) {
- g_rpcSignals.PostCommand.connect(boost::bind(slot, _1));
-}
-
void RPCTypeCheck(const UniValue ¶ms,
const std::list<UniValue::VType> &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<std::string> CRPCTable::listCommands() const {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 11:55 (52 m, 54 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187733
Default Alt Text
D1885.diff (1 KB)
Attached To
D1885: Remove unreachable code (g_rpcSignals.PostCommand)
Event Timeline
Log In to Comment