This variant scans the hex encoding, not the string */
| 894 | |
| 895 | /* This variant scans the hex encoding, not the string */ |
| 896 | const char *rpc_scan_datastore_hex(const tal_t *ctx, |
| 897 | struct command *cmd, |
| 898 | const char **keys, |
| 899 | ...) |
| 900 | { |
| 901 | const char *ret; |
| 902 | va_list ap; |
| 903 | |
| 904 | va_start(ap, keys); |
| 905 | ret = rpc_scan_datastore(ctx, cmd, keys, "hex", ap); |
| 906 | va_end(ap); |
| 907 | return ret; |
| 908 | } |
| 909 | |
| 910 | void rpc_enable_batching(struct plugin *plugin) |
| 911 | { |