Skip to content

Commit

Permalink
interface support
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 committed Mar 29, 2022
1 parent 6664a11 commit e8c1a83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions retrievalmarket/provider.go
Expand Up @@ -3,6 +3,8 @@ package retrievalmarket
import (
"context"

"github.com/ipfs/go-cid"

"github.com/filecoin-project/go-fil-markets/shared"
)

Expand Down Expand Up @@ -31,6 +33,8 @@ type RetrievalProvider interface {
SubscribeToEvents(subscriber ProviderSubscriber) Unsubscribe

ListDeals() map[ProviderDealIdentifier]ProviderDealState

IsFreeAndUnsealed(ctx context.Context, c cid.Cid, pieceCid cid.Cid) (bool, error)
}

// AskStore is an interface which provides access to a persisted retrieval Ask
Expand Down

0 comments on commit e8c1a83

Please sign in to comment.