lotus/retrieval/discovery/discovery.go

16 lines
337 B
Go
Raw Normal View History

2019-08-26 13:45:36 +00:00
package discovery
import (
cbor "github.com/ipfs/go-ipld-cbor"
retrievalmarket "github.com/filecoin-project/lotus/retrieval"
2019-08-26 13:45:36 +00:00
)
func init() {
cbor.RegisterCborType(retrievalmarket.RetrievalPeer{})
2019-08-26 13:45:36 +00:00
}
func Multi(r retrievalmarket.PeerResolver) retrievalmarket.PeerResolver { // TODO: actually support multiple mechanisms
2019-08-26 13:45:36 +00:00
return r
}