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

Function print_utxos

tests/utils.py:218–225  ·  view source on GitHub ↗
(utxos)

Source from the content-addressed store, hash-verified

216
217
218def print_utxos(utxos):
219 for k, us in utxos.items():
220 print(k)
221 for u in us:
222 if u[1]:
223 print('\t', u[0]['account_id'], u[0]['tags'], u[1]['tags'], u[1]['spending_txid'])
224 else:
225 print('\t', u[0]['account_id'], u[0]['tags'], None, None)
226
227
228def utxos_for_channel(utxoset, channel_id):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected