lnd.xprv/autopilot
Johan T. Halseth 1d82e12fcf
autopilot: define AgentConstraints
To decouple the autopilot heuristic from the constraints, we start by
abstracting them behind an interface to make them easier to mock. We
also rename them HeuristicConstraints->AgentConstraints to make it clear
that they are now constraints the agent must adhere to.
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: define AgentConstraints 2019-01-08 10:10:58 +01:00
agent.go autopilot: define AgentConstraints 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