Commit e5c0ecbe authored by Kevin Atkinson's avatar Kevin Atkinson

Don't use a separate LinkService for DAGService.GetLinks()

Instead make LinkService a part of DAGService.  The LinkService is now
simply an interface that DAGService implements.  Also provide a
GetOfflineLinkService() method that the GC uses to get an offline
instance.

License: MIT
Signed-off-by: default avatarKevin Atkinson <k@kevina.org>
parent c343d6bb
...@@ -422,3 +422,7 @@ func (bs *Bitswap) GetWantlist() []key.Key { ...@@ -422,3 +422,7 @@ func (bs *Bitswap) GetWantlist() []key.Key {
} }
return out return out
} }
func (bs *Bitswap) IsOnline() bool {
return true
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment