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

Function getrawblockbyheight_notfound

plugins/bcli.c:574–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574static struct command_result *
575getrawblockbyheight_notfound(struct bitcoin_cli *bcli)
576{
577 struct json_stream *response;
578
579 response = jsonrpc_stream_success(bcli->cmd);
580 json_add_null(response, "blockhash");
581 json_add_null(response, "block");
582
583 return command_finished(bcli->cmd, response);
584}
585
586static struct command_result *process_getblockhash(struct bitcoin_cli *bcli)
587{

Callers 1

process_getblockhashFunction · 0.85

Calls 3

json_add_nullFunction · 0.85
jsonrpc_stream_successFunction · 0.70
command_finishedFunction · 0.70

Tested by

no test coverage detected