remove RPCTimerInterface and RPCRunLater

This commit is contained in:
Matthew Zipkin
2025-07-02 19:43:32 -04:00
parent 8a1765795f
commit fcfd3db563
8 changed files with 0 additions and 176 deletions

View File

@@ -356,8 +356,6 @@ public:
return ::tableRPC.execute(req);
}
std::vector<std::string> listRpcCommands() override { return ::tableRPC.listCommands(); }
void rpcSetTimerInterfaceIfUnset(RPCTimerInterface* iface) override { RPCSetTimerInterfaceIfUnset(iface); }
void rpcUnsetTimerInterface(RPCTimerInterface* iface) override { RPCUnsetTimerInterface(iface); }
std::optional<Coin> getUnspentOutput(const COutPoint& output) override
{
LOCK(::cs_main);
@@ -804,10 +802,6 @@ public:
return std::make_unique<RpcHandlerImpl>(command);
}
bool rpcEnableDeprecated(const std::string& method) override { return IsDeprecatedRPCEnabled(method); }
void rpcRunLater(const std::string& name, std::function<void()> fn, int64_t seconds) override
{
RPCRunLater(name, std::move(fn), seconds);
}
common::SettingsValue getSetting(const std::string& name) override
{
return args().GetSetting(name);