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

Function estimatefees_null_response

plugins/bcli.c:480–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478};
479
480static struct command_result *
481estimatefees_null_response(struct bitcoin_cli *bcli)
482{
483 struct json_stream *response = jsonrpc_stream_success(bcli->cmd);
484
485 json_add_null(response, "opening");
486 json_add_null(response, "mutual_close");
487 json_add_null(response, "unilateral_close");
488 json_add_null(response, "delayed_to_us");
489 json_add_null(response, "htlc_resolution");
490 json_add_null(response, "penalty");
491 json_add_null(response, "min_acceptable");
492 json_add_null(response, "max_acceptable");
493
494 return command_finished(bcli->cmd, response);
495}
496
497static struct command_result *
498estimatefees_parse_feerate(struct bitcoin_cli *bcli, u64 *feerate)

Callers 2

estimatefees_doneFunction · 0.85

Calls 3

json_add_nullFunction · 0.85
jsonrpc_stream_successFunction · 0.70
command_finishedFunction · 0.70

Tested by

no test coverage detected