mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Remove unused CRPCSignals
They are no longer used for anything since RPCNotifyBlockChange was replaced with waitTipChanged() from the mining interface.
This commit is contained in:
parent
dca923150e
commit
460687a09c
3 changed files with 3 additions and 38 deletions
12
src/init.cpp
12
src/init.cpp
|
|
@ -429,16 +429,6 @@ static void registerSignalHandler(int signal, void(*handler)(int))
|
|||
}
|
||||
#endif
|
||||
|
||||
static void OnRPCStarted()
|
||||
{
|
||||
}
|
||||
|
||||
static void OnRPCStopped()
|
||||
{
|
||||
g_best_block_cv.notify_all();
|
||||
LogDebug(BCLog::RPC, "RPC stopped.\n");
|
||||
}
|
||||
|
||||
void SetupServerArgs(ArgsManager& argsman, bool can_listen_ipc)
|
||||
{
|
||||
SetupHelpOptions(argsman);
|
||||
|
|
@ -719,8 +709,6 @@ static void StartupNotify(const ArgsManager& args)
|
|||
static bool AppInitServers(NodeContext& node)
|
||||
{
|
||||
const ArgsManager& args = *Assert(node.args);
|
||||
RPCServer::OnStarted(&OnRPCStarted);
|
||||
RPCServer::OnStopped(&OnRPCStopped);
|
||||
if (!InitHTTPServer(*Assert(node.shutdown))) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue