| 375 | } |
| 376 | |
| 377 | static void OnRPCStopped() |
| 378 | { |
| 379 | rpc_notify_block_change_connection.disconnect(); |
| 380 | RPCNotifyBlockChange(nullptr); |
| 381 | g_best_block_cv.notify_all(); |
| 382 | LogPrint(BCLog::RPC, "RPC stopped.\n"); |
| 383 | } |
| 384 | |
| 385 | void SetupServerArgs(ArgsManager& argsman) |
| 386 | { |
nothing calls this directly
no test coverage detected