MCPcopy Create free account
hub / github.com/ElementsProject/lightning / jsonrpc_request_sync

Function jsonrpc_request_sync

plugins/libplugin.c:818–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816}
817
818const jsmntok_t *jsonrpc_request_sync(const tal_t *ctx,
819 struct command *cmd,
820 const char *method,
821 const struct json_out *params TAKES,
822 const char **resp)
823{
824 return sync_req(ctx, cmd->plugin, method, params, resp);
825}
826
827/* Returns contents of scanning guide on 'result' */
828static const char *rpc_scan_core(const tal_t *ctx,

Callers 3

watch_initFunction · 0.70
setup_backup_mapFunction · 0.70
json_helloworldFunction · 0.50

Calls 1

sync_reqFunction · 0.85

Tested by 1

json_helloworldFunction · 0.40