Send a request to the Bitcoin plugin which registered that method, * if it's still alive. */
| 144 | /* Send a request to the Bitcoin plugin which registered that method, |
| 145 | * if it's still alive. */ |
| 146 | static void bitcoin_plugin_send(struct bitcoind *bitcoind, |
| 147 | struct jsonrpc_request *req) |
| 148 | { |
| 149 | struct plugin *plugin = strmap_get(&bitcoind->pluginsmap, req->method); |
| 150 | if (!plugin) |
| 151 | fatal("Bitcoin backend plugin for %s died.", req->method); |
| 152 | |
| 153 | plugin_request_send(plugin, req); |
| 154 | } |
| 155 | |
| 156 | /* `estimatefees` |
| 157 | * |
no test coverage detected