Skip to content

Commit

Permalink
interface support
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 authored and hannahhoward committed Aug 17, 2022
1 parent 48fba30 commit cdd0328
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 cdd0328

Please sign in to comment.