mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
25de66d27b
We create a new type NodeScore which is a tuple (NodeID, score). The weightedChoice and chooseN algorithms are altered to expect this type. This is done in order to simplify the types we are using, since we were only using a subset of the fields in AttachmentDirective. |
||
---|---|---|
.. | ||
agent_constraints_test.go | ||
agent_constraints.go | ||
agent_test.go | ||
agent.go | ||
choice_test.go | ||
choice.go | ||
graph.go | ||
interface.go | ||
log.go | ||
manager.go | ||
prefattach_test.go | ||
prefattach.go |