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

Function bench_invoice

tests/benchmark.py:113–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 l1 = get_bench_node(node_factory)
112
113 def bench_invoice():
114 l1.rpc.invoice(1000, 'invoice-{}'.format(time()), 'desc')
115
116 benchmark(bench_invoice)
117

Callers

nothing calls this directly

Calls 1

invoiceMethod · 0.45

Tested by

no test coverage detected