| 918 | } |
| 919 | |
| 920 | void rpc_enable_batching(struct plugin *plugin) |
| 921 | { |
| 922 | const char *p; |
| 923 | struct json_out *params; |
| 924 | |
| 925 | params = json_out_new(NULL); |
| 926 | json_out_start(params, NULL, '{'); |
| 927 | json_out_add(params, "enable", false, "true"); |
| 928 | json_out_end(params, '}'); |
| 929 | json_out_finished(params); |
| 930 | |
| 931 | /* We don't actually care about (empty) response */ |
| 932 | sync_req(tmpctx, plugin, "batching", take(params), &p); |
| 933 | } |
| 934 | |
| 935 | struct command_result *jsonrpc_set_datastore_(struct command *cmd, |
| 936 | const char **keys, |
no test coverage detected