lnd.xprv/autopilot
Johan T. Halseth dd072304b0
autopilot: move queryHeuristic out of agent
This commit moves the logic querying the available heuristics out of the
autopilot agent and into the autopilot manager. This lets us query the
heuristic without the autopilot agent being active.

If called without the agent being active, the current set of channels
will be considered by the heuristics. If the agent is active also the
pending channels will be considered.
2019-03-18 13:32:18 +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/agent_test: add TestAgentChannelSizeAllocation 2019-03-14 08:49:28 +01:00
agent.go autopilot: move queryHeuristic out of agent 2019-03-18 13:32:18 +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
combinedattach.go autopilot/interface+externalscoreattach: define ScoreSettable 2019-02-14 11:41:47 +01:00
externalscoreattach_test.go autopilot/externalscoreattach_test: add TestSetNodeScores 2019-02-14 12:37:25 +01:00
externalscoreattach.go autopilot/interface+externalscoreattach: define ScoreSettable 2019-02-14 11:41:47 +01:00
graph.go autopilot/graph: set max htlc in test edge policies 2019-01-22 08:42:29 +01:00
interface.go autopilot/interface+externalscoreattach: define ScoreSettable 2019-02-14 11:41:47 +01:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
manager.go autopilot: move queryHeuristic out of agent 2019-03-18 13:32:18 +01:00
prefattach_test.go autopilot/interface+prefattach: scale node scores to range [0.0, 1.0] 2019-01-21 09:44:37 +01:00
prefattach.go autopilot/interface: add Name() to AttachmentHeuristic interface 2019-01-23 09:05:42 +01:00