routing: export MissionControl

This commit is contained in:
Johan T. Halseth
2019-05-23 20:05:30 +02:00
parent 3323800e02
commit adc4640f4f
4 changed files with 29 additions and 29 deletions

View File

@@ -349,7 +349,7 @@ type ChannelRouter struct {
// Each run will then take into account this set of pruned
// vertexes/edges to reduce route failure and pass on graph information
// gained to the next execution.
missionControl *missionControl
missionControl *MissionControl
// channelEdgeMtx is a mutex we use to make sure we process only one
// ChannelEdgePolicy at a time for a given channelID, to ensure
@@ -392,7 +392,7 @@ func New(cfg Config) (*ChannelRouter, error) {
quit: make(chan struct{}),
}
r.missionControl = newMissionControl(
r.missionControl = NewMissionControl(
cfg.Graph, selfNode, cfg.QueryBandwidth,
)