lnd.xprv/autopilot
Johan T. Halseth 25de66d27b
autopilot/interface+choice: add NodeScore type
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.
2019-01-08 10:23:48 +01:00
..
agent_constraints_test.go autopilot: TestConstrainedPrefAttachmentNeedMoreChan->TestConstraintsChannelBudget 2019-01-08 10:10:58 +01:00
agent_constraints.go autopilot: define AgentConstraints 2019-01-08 10:10:58 +01:00
agent_test.go autopilot: move address lookup from heuristic to agent 2019-01-08 10:10:59 +01:00
agent.go autopilot/interface+choice: add NodeScore type 2019-01-08 10:23:48 +01:00
choice_test.go autopilot/interface+choice: add NodeScore type 2019-01-08 10:23:48 +01:00
choice.go autopilot/interface+choice: add NodeScore type 2019-01-08 10:23:48 +01:00
graph.go autopilot/graph: define addRandNode 2018-12-10 15:01:43 +01:00
interface.go autopilot/interface+choice: add NodeScore type 2019-01-08 10:23:48 +01:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
manager.go autopilot/manager: only set m.pilot if started successfully 2018-12-19 19:48:44 +01:00
prefattach_test.go autopilot/pref_attachment: rename ConstrainedPrefAttachment->PrefAttachment 2019-01-08 10:10:59 +01:00
prefattach.go autopilot/pref_attachment: rename ConstrainedPrefAttachment->PrefAttachment 2019-01-08 10:10:59 +01:00