1217992d9d
In this commit, we implement an optimization to the autopilot agent to ensure that we don't spin and waste CPU when we either have a large graph, or a high max channel target for the agent. Before this commit, each time we went to read the state of a channel from disk, we would decompress the EC Point each time. However, for the case of the instal ChannlEdge struct to feed to the agent, we only actually need to obtain the pubkey, and can save the potentially expensive point decompression for each directional channel in the graph. |
||
---|---|---|
.. | ||
agent_test.go | ||
agent.go | ||
graph.go | ||
interface.go | ||
log.go | ||
prefattach_test.go | ||
prefattach.go |