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

Function estimatefees_null_response

plugins/bcli.c:280–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278};
279
280static struct command_result *
281estimatefees_null_response(struct command *cmd)
282{
283 struct json_stream *response = jsonrpc_stream_success(cmd);
284
285 /* We give a floor, which is the standard minimum */
286 json_array_start(response, "feerates");
287 json_array_end(response);
288 json_add_u32(response, "feerate_floor", 1000);
289
290 return command_finished(cmd, response);
291}
292
293static struct command_result *
294getrawblockbyheight_notfound(struct command *cmd)

Callers 2

get_feerate_floorFunction · 0.85
get_feerateFunction · 0.85

Calls 5

json_array_startFunction · 0.85
json_array_endFunction · 0.85
json_add_u32Function · 0.85
jsonrpc_stream_successFunction · 0.70
command_finishedFunction · 0.70

Tested by

no test coverage detected