lnd/autopilot
Olaoluwa Osuntokun ce2d5a2156
autopilot: limit the number of outstanding channel open goroutines
In this commit, we fix an existing bug that would at times cause us to
spiral out of control and potentially created thousands of outbound
connections. Our fix is simple: limit the total number of outstanding
channel establishment attempts. Without this limit, we have no way to
bound the number of active goroutines.

Fixes #772.
2018-03-10 16:53:02 -08:00
..
agent.go autopilot: limit the number of outstanding channel open goroutines 2018-03-10 16:53:02 -08:00
agent_test.go autopilot: limit the number of outstanding channel open goroutines 2018-03-10 16:53:02 -08:00
graph.go autopilot: update API usage to account for recent channeldb changes 2018-02-06 20:14:32 -08:00
interface.go autopilot: modify interfaces to specify *exactly* how many chans to open 2018-02-08 20:08:18 -08:00
log.go autopilot: "Look ma no hands!", introducing autopilot mode 2017-08-10 21:14:55 -07:00
prefattach.go autopilot: modify interfaces to specify *exactly* how many chans to open 2018-02-08 20:08:18 -08:00
prefattach_test.go autopilot: modify interfaces to specify *exactly* how many chans to open 2018-02-08 20:08:18 -08:00