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

Function jsonrpc_request_sync

plugins/libplugin.c:808–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

806}
807
808const jsmntok_t *jsonrpc_request_sync(const tal_t *ctx,
809 struct command *cmd,
810 const char *method,
811 const struct json_out *params TAKES,
812 const char **resp)
813{
814 return sync_req(ctx, cmd->plugin, method, params, resp);
815}
816
817/* Returns contents of scanning guide on 'result' */
818static 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