enable libp2p options

This commit is contained in:
Anton Evangelatov
2021-06-30 12:55:43 +02:00
parent a8d5ae5213
commit 9ec7cd7239
23 changed files with 760 additions and 250 deletions
+2
View File
@@ -6,6 +6,7 @@ import (
"github.com/ipfs/go-graphsync"
exchange "github.com/ipfs/go-ipfs-exchange-interface"
format "github.com/ipfs/go-ipld-format"
"github.com/libp2p/go-libp2p-core/host"
"github.com/filecoin-project/go-fil-markets/storagemarket/impl/requestvalidation"
"github.com/filecoin-project/go-multistore"
@@ -83,6 +84,7 @@ type ClientDataTransfer datatransfer.Manager
type ProviderDealStore *statestore.StateStore
type ProviderPieceStore piecestore.PieceStore
type Libp2pHost host.Host
type ProviderRequestValidator *requestvalidation.UnifiedRequestValidator
// ProviderDataTransfer is a data transfer manager for the provider