5e8e54083f
This commit adds a new method NodeScores to the AttachementHeuristic interface. Its intended use is to score a set of nodes according to their preference as channel counterparties. The PrefAttach heuristic gets a NodeScores method that will score the ndoes according to their number of already existing channels, similar to what is done already in Select. |
||
---|---|---|
.. | ||
agent_test.go | ||
agent.go | ||
graph.go | ||
heuristic_constraints.go | ||
interface.go | ||
log.go | ||
prefattach_test.go | ||
prefattach.go |