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

Function get_bench_line_graph

tests/benchmark.py:34–37  ·  view source on GitHub ↗
(node_factory, num_nodes, wait_for_announce=False)

Source from the content-addressed store, hash-verified

32
33
34def get_bench_line_graph(node_factory, num_nodes, wait_for_announce=False):
35 nodes = [get_bench_node(node_factory) for _ in range(num_nodes)]
36 node_factory.join_nodes(nodes, wait_for_announce=wait_for_announce)
37 return nodes
38
39
40@pytest.fixture

Callers 5

test_single_paymentFunction · 0.85
test_forward_paymentFunction · 0.85
test_payFunction · 0.85
test_generate_coinmovesFunction · 0.85

Calls 2

get_bench_nodeFunction · 0.85
join_nodesMethod · 0.80

Tested by 5

test_single_paymentFunction · 0.68
test_forward_paymentFunction · 0.68
test_payFunction · 0.68
test_generate_coinmovesFunction · 0.68