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

Function getrawblockbyheight_notfound

plugins/bcli.c:293–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293static struct command_result *
294getrawblockbyheight_notfound(struct command *cmd)
295{
296 struct json_stream *response;
297
298 response = jsonrpc_stream_success(cmd);
299 json_add_null(response, "blockhash");
300 json_add_null(response, "block");
301
302 return command_finished(cmd, response);
303}
304
305/* Get peers that support NODE_NETWORK (full nodes).
306 * Returns array of peer ids, or empty array if none found. */

Callers 1

getrawblockbyheightFunction · 0.85

Calls 3

jsonrpc_stream_successFunction · 0.70
json_add_nullFunction · 0.70
command_finishedFunction · 0.70

Tested by

no test coverage detected