| 908 | } |
| 909 | |
| 910 | void rpc_enable_batching(struct plugin *plugin) |
| 911 | { |
| 912 | const char *p; |
| 913 | struct json_out *params; |
| 914 | |
| 915 | params = json_out_new(NULL); |
| 916 | json_out_start(params, NULL, '{'); |
| 917 | json_out_add(params, "enable", false, "true"); |
| 918 | json_out_end(params, '}'); |
| 919 | json_out_finished(params); |
| 920 | |
| 921 | /* We don't actually care about (empty) response */ |
| 922 | sync_req(tmpctx, plugin, "batching", take(params), &p); |
| 923 | } |
| 924 | |
| 925 | struct command_result *jsonrpc_set_datastore_(struct command *cmd, |
| 926 | const char **keys, |
no test coverage detected