{"push_id":3020606608,"size":4,"distinct_size":4,"ref":"refs/heads/autopilot-scoring-based","head":"4fc1f58de3eb7942e244e8ed6c191ee8ffb70bb8","before":"a9970eae78c8d23f77df434f45c4d00dc721fa2e","commits":[{"sha":"e4609c24f3e2a9f9689296202a74079daafd2fd3","author":{"name":"Johan T. Halseth","email":"313b7951f9319f7c5b8c372fa32d29abbc4e9236@gmail.com"},"message":"autopilot/prefattach+interface: add API NodeScores\n\nThis commit adds a new method NodeScores to the AttachementHeuristic\ninterface. Its intended use is to score a set of nodes according to\ntheir preference as channel counterparties.\n\nThe PrefAttach heuristic gets a NodeScores method that will score the\nndoes according to their number of already existing channels, similar to\nwhat is done already in Select.","distinct":true,"url":"https://api.github.com/repos/halseth/lnd/commits/e4609c24f3e2a9f9689296202a74079daafd2fd3"},{"sha":"b23a1ceaded805db319e6309befb01e015f6a9f0","author":{"name":"Johan T. Halseth","email":"313b7951f9319f7c5b8c372fa32d29abbc4e9236@gmail.com"},"message":"autopilot/agent: add weightedChoice algorithm\n\nThe algorithm will be used to pick a node at random from the weighted\ndistribution set by the node's scores given by the heuristic.","distinct":true,"url":"https://api.github.com/repos/halseth/lnd/commits/b23a1ceaded805db319e6309befb01e015f6a9f0"},{"sha":"a3c4f875633e766af72499e6818e102d0ea26150","author":{"name":"Johan T. Halseth","email":"313b7951f9319f7c5b8c372fa32d29abbc4e9236@gmail.com"},"message":"autopilot/graph: allow ForEachChannel to not use db tx\n\nSince we cannot know if the dbNode's tx is closed or not, we must set it\nnil when calling ForEachChannel on the dbNode struct.","distinct":true,"url":"https://api.github.com/repos/halseth/lnd/commits/a3c4f875633e766af72499e6818e102d0ea26150"},{"sha":"4fc1f58de3eb7942e244e8ed6c191ee8ffb70bb8","author":{"name":"Johan T. Halseth","email":"313b7951f9319f7c5b8c372fa32d29abbc4e9236@gmail.com"},"message":"autopilot/agent: use NodeScores to select channel candidates\n\nThis commit makes the autopilot agent use the new NodeScores heuristic\nAPI to select channel candiates, instead of the Select API. The result\nwill be similar, but instead of selecting a set of nodes to open\nchannels to, we get a score based results which can later be used\ntogether with other heuristics to choose nodes to open channels to.","distinct":true,"url":"https://api.github.com/repos/halseth/lnd/commits/4fc1f58de3eb7942e244e8ed6c191ee8ffb70bb8"}]}
{"actor":{"display_login":"halseth"}}