lnd/autopilot
Oliver Gugger ed40eddafd
autopilot: return early for empty graph
This fixes an issue where the diameter calculation would crash if the
graph is empty.
2022-06-16 10:10:27 +02:00
..
agent_constraints_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
agent_constraints.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
agent_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
agent.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
betweenness_centrality_test.go autopilot+test: testify betweenness centrality tests 2020-07-17 16:12:55 +02:00
betweenness_centrality.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
centrality_testdata_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
choice_test.go autopilot: append instead of appends in a loop 2020-04-24 19:15:08 +02:00
choice.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
combinedattach.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
externalscoreattach_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
externalscoreattach.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
graph_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
graph.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
interface.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
manager.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
prefattach_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
prefattach.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
simple_graph_test.go lnrpc+autopilot: add graph diameter calculation 2022-03-07 11:15:47 +01:00
simple_graph.go autopilot: return early for empty graph 2022-06-16 10:10:27 +02:00
top_centrality_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
top_centrality.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00