Retrieval Peer Resolver #
The peer resolver
is a content routing interface to discover retrieval miners that have a given Piece.
It can be backed by both a local store of previous storage deals or by querying the chain.
import abi "github.com/filecoin-project/specs-actors/actors/abi"
type RetrievalPeerResolver struct {
GetPeers(PieceCID abi.PieceCID) [RetrievalPeer]
}