lnd.xprv/autopilot
Johan T. Halseth 0e1713956b
autopilot/agent: call ChannelBudget on constrainsts
We let the agent call ChannelBudget on its constraints directly, and
not go through the heuristic. This is needed since when we want to have
multiple active heuristics concurrently, it won't make sense anymore to
ask each of the heuristics.

The mockConstraints are also updated to act as the mockHeuristic did
before, by making it possible to control the responses it gives by
sending them on the contained channels.
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: call ChannelBudget on constrainsts 2019-01-08 10:10:58 +01:00
agent.go autopilot/agent: call ChannelBudget on constrainsts 2019-01-08 10:10:58 +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/interface+agent: remove Select 2018-12-06 14:26:28 +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: define AgentConstraints 2019-01-08 10:10:58 +01:00
prefattach.go autopilot: define AgentConstraints 2019-01-08 10:10:58 +01:00