lnd/autopilot
Oliver Gugger d6fa912188
multi: further decouple graph
To further separate the channel graph from the channel state, we
refactor the AddrsForNode method to use the graphs's public methods
instead of directly accessing any buckets. This makes sure that we can
have the channel state cached with just its buckets while not using a
kvdb level cache for the graph.
At the same time we refactor the graph's test to also be less dependent
upon the channel state DB.
2021-09-29 17:00:03 +02:00
..
agent_constraints_test.go autopilot: rename to Capacity to Balance, define ChannelInfo() 2020-10-05 12:24:07 +02:00
agent_constraints.go autopilot: typo fix 2020-11-19 14:34:29 +08:00
agent_test.go autopilot: rename to Capacity to Balance, define ChannelInfo() 2020-10-05 12:24:07 +02:00
agent.go Merge pull request #4783 from yyforyongyu/autopilot-code-fix 2020-11-19 11:10:48 -08:00
betweenness_centrality_test.go autopilot+test: testify betweenness centrality tests 2020-07-17 16:12:55 +02:00
betweenness_centrality.go autopilot: typo fix 2020-11-19 14:34:29 +08:00
centrality_testdata_test.go autopilot+test: make centrality test data available for other tests 2020-07-17 16:12:53 +02:00
choice_test.go autopilot: append instead of appends in a loop 2020-04-24 19:15:08 +02:00
choice.go autopilot/interface+choice: add NodeScore type 2019-01-08 10:23:48 +01:00
combinedattach.go autopilot: split channel definition into LocalChannel/ChannelEdge 2020-10-05 12:24:07 +02:00
externalscoreattach_test.go autopilot/externalscoreattach_test: add TestSetNodeScores 2019-02-14 12:37:25 +01:00
externalscoreattach.go autopilot: split channel definition into LocalChannel/ChannelEdge 2020-10-05 12:24:07 +02:00
graph_test.go autopilot: add Median method 2019-03-27 15:06:30 +01:00
graph.go multi: further decouple graph 2021-09-29 17:00:03 +02:00
interface.go autopilot: fix typo 2020-12-04 23:07:52 +08:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
manager.go autopilot: fix typo 2020-12-04 23:07:52 +08:00
prefattach_test.go autopilot: split channel definition into LocalChannel/ChannelEdge 2020-10-05 12:24:07 +02:00
prefattach.go autopilot: split channel definition into LocalChannel/ChannelEdge 2020-10-05 12:24:07 +02:00
simple_graph.go autopilot: betweenness centrality using Brandes algo on simplifed graph 2020-03-27 10:39:50 +01:00
top_centrality_test.go autopilot: split channel definition into LocalChannel/ChannelEdge 2020-10-05 12:24:07 +02:00
top_centrality.go autopilot: split channel definition into LocalChannel/ChannelEdge 2020-10-05 12:24:07 +02:00