lnd.xprv/autopilot
Johan T. Halseth cfd237bf1f
autopilot: move determining chanSize from heuristic to agent
Since we want to combine scores from multiple heuristics, things get
complicated if the heuristics report their own individual channel sizes.
Therefore we change the NodeScores interface slightly, letting the agent
specify the wanted channel size, and let the heuristic score the nodes
accordingly.
2019-01-08 10:10:59 +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/interface: remove NeedMoreChans from AttachmentHeuristic 2019-01-08 10:10:59 +01:00
agent.go autopilot: move determining chanSize from heuristic to agent 2019-01-08 10:10:59 +01:00
choice_test.go autopilot/choice: add weightedChoice tests 2018-12-19 08:27:35 +01:00
choice.go autopilot/choice: avoid costly map allocations 2018-12-19 08:27:34 +01:00
graph.go autopilot/graph: define addRandNode 2018-12-10 15:01:43 +01:00
interface.go autopilot: move determining chanSize from heuristic to agent 2019-01-08 10:10:59 +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: move determining chanSize from heuristic to agent 2019-01-08 10:10:59 +01:00
prefattach.go autopilot: move determining chanSize from heuristic to agent 2019-01-08 10:10:59 +01:00