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

Function json_add_utxos

wallet/walletrpc.c:296–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296static void json_add_utxos(struct json_stream *response,
297 struct wallet *wallet,
298 struct utxo **utxos)
299{
300 for (size_t i = 0; i < tal_count(utxos); i++)
301 json_add_utxo(response, NULL, wallet, utxos[i]);
302}
303
304static struct command_result *json_listfunds(struct command *cmd,
305 const char *buffer,

Callers 1

json_listfundsFunction · 0.85

Calls 1

json_add_utxoFunction · 0.85

Tested by

no test coverage detected