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

Function json_add_utxos

wallet/walletrpc.c:420–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420static void json_add_utxos(struct json_stream *response,
421 struct wallet *wallet,
422 struct utxo **utxos)
423{
424 for (size_t i = 0; i < tal_count(utxos); i++)
425 json_add_utxo(response, NULL, wallet, utxos[i]);
426}
427
428static struct command_result *json_listfunds(struct command *cmd,
429 const char *buffer,

Callers 1

json_listfundsFunction · 0.85

Calls 1

json_add_utxoFunction · 0.85

Tested by

no test coverage detected