MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / RPCUnregisterTimerInterface

Function RPCUnregisterTimerInterface

src/rpcserver.cpp:545–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545void RPCUnregisterTimerInterface(RPCTimerInterface *iface)
546{
547 std::vector<RPCTimerInterface*>::iterator i = std::find(timerInterfaces.begin(), timerInterfaces.end(), iface);
548 assert(i != timerInterfaces.end());
549 timerInterfaces.erase(i);
550}
551
552void RPCRunLater(const std::string& name, boost::function<void(void)> func, int64_t nSeconds)
553{

Callers 2

StopHTTPRPCFunction · 0.85
~RPCConsoleMethod · 0.85

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected