lnd.xprv/autopilot
Johan T. Halseth 4a88c61a90
autopilot/agent: signal nodeUpdates on own channel
We do this to avoid a huge amount of goroutines piling up on initial
graph sync, as they will all block trying to send the node update on the
stateUpdates channel. Now we instead make a new buffered channel
nodeUpdates, and just return immediately if there is already a signal in
the channel waiting to be processed.
2018-09-04 10:17:09 +02:00
..
agent_test.go autopilot: use updateBalance rather than tracking balance explicitly 2018-08-29 02:06:02 -07:00
agent.go autopilot/agent: signal nodeUpdates on own channel 2018-09-04 10:17:09 +02:00
graph.go autopilot: update the Node interface to return a raw bytes, not the key 2018-08-29 15:44:47 -07:00
interface.go autopilot: update the Node interface to return a raw bytes, not the key 2018-08-29 15:44:47 -07:00
log.go autopilot: "Look ma no hands!", introducing autopilot mode 2017-08-10 21:14:55 -07:00
prefattach_test.go autopilot: update the Node interface to return a raw bytes, not the key 2018-08-29 15:44:47 -07:00
prefattach.go autopilot: update the Node interface to return a raw bytes, not the key 2018-08-29 15:44:47 -07:00