Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

Update the comment on IpfsRouting.Bootstrap #36

Merged
merged 1 commit into from
Jan 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ type ValueStore interface {
SearchValue(context.Context, string, ...ropts.Option) (<-chan []byte, error)
}

// IpfsRouting is the combination of different routing types that ipfs
// uses. It can be satisfied by a single item (such as a DHT) or multiple
// different pieces that are more optimized to each task.
// IpfsRouting is the combination of different routing types that IPFS uses.
// It can be satisfied by a single item (such as a DHT) or multiple different
// pieces that are more optimized to each task.
type IpfsRouting interface {
ContentRouting
PeerRouting
ValueStore

// Bootstrap allows callers to hint to the routing system to get into a
// Boostrapped state
// Boostrapped state and remain there. It is not a synchronous call.
Bootstrap(context.Context) error

// TODO expose io.Closer or plain-old Close error
Expand Down