Send a request to the Bitcoin plugin which registered that method, * if it's still alive. */
| 120 | /* Send a request to the Bitcoin plugin which registered that method, |
| 121 | * if it's still alive. */ |
| 122 | static void bitcoin_plugin_send(struct bitcoind *bitcoind, |
| 123 | struct jsonrpc_request *req) |
| 124 | { |
| 125 | struct plugin *plugin = strmap_get(&bitcoind->pluginsmap, req->method); |
| 126 | if (!plugin) |
| 127 | fatal("Bitcoin backend plugin for %s died.", req->method); |
| 128 | |
| 129 | plugin_request_send(plugin, req); |
| 130 | } |
| 131 | |
| 132 | /* `estimatefees` |
| 133 | * |
no test coverage detected