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