Skip to content

Commit

Permalink
refactor(datatransfer): use independent repo
Browse files Browse the repository at this point in the history
Use independent repo for go-data-transfer
  • Loading branch information
hannahhoward committed Dec 19, 2019
1 parent 635d9d0 commit fd2be38
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 12 deletions.
2 changes: 1 addition & 1 deletion chain/deals/client_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/libp2p/go-libp2p-core/peer"
"golang.org/x/xerrors"

"github.com/filecoin-project/go-fil-components/datatransfer"
"github.com/filecoin-project/go-data-transfer"
"github.com/filecoin-project/lotus/lib/cborutil"
"github.com/filecoin-project/lotus/lib/padreader"
"github.com/filecoin-project/lotus/lib/sectorbuilder"
Expand Down
2 changes: 1 addition & 1 deletion chain/deals/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/libp2p/go-libp2p-core/peer"
"golang.org/x/xerrors"

"github.com/filecoin-project/go-fil-components/datatransfer"
"github.com/filecoin-project/go-data-transfer"
"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/chain/actors"
"github.com/filecoin-project/lotus/chain/address"
Expand Down
2 changes: 1 addition & 1 deletion chain/deals/provider_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"runtime"

"github.com/filecoin-project/go-fil-components/datatransfer"
"github.com/filecoin-project/go-data-transfer"
"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/node/modules/dtypes"
"github.com/ipld/go-ipld-prime"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/filecoin-project/chain-validation v0.0.3
github.com/filecoin-project/filecoin-ffi v0.0.0-20191204125133-ebb3e13addf1
github.com/filecoin-project/go-amt-ipld v0.0.0-20191205011053-79efc22d6cdc
github.com/filecoin-project/go-fil-components v0.0.0-20191209202555-21dd66ba3701
github.com/filecoin-project/go-data-transfer v0.0.0-20191219005021-4accf56bd2ce
github.com/gbrlsnchs/jwt/v3 v3.0.0-beta.1
github.com/go-ole/go-ole v1.2.4 // indirect
github.com/gorilla/mux v1.7.3
Expand Down
36 changes: 31 additions & 5 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node/modules/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/ipfs/go-merkledag"
"go.uber.org/fx"

"github.com/filecoin-project/go-fil-components/datatransfer/impl/graphsync"
"github.com/filecoin-project/go-data-transfer/impl/graphsync"
"github.com/filecoin-project/lotus/chain/deals"
"github.com/filecoin-project/lotus/node/modules/dtypes"
"github.com/filecoin-project/lotus/node/repo"
Expand Down
2 changes: 1 addition & 1 deletion node/modules/dtypes/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
exchange "github.com/ipfs/go-ipfs-exchange-interface"
ipld "github.com/ipfs/go-ipld-format"

"github.com/filecoin-project/go-fil-components/datatransfer"
"github.com/filecoin-project/go-data-transfer"
"github.com/filecoin-project/lotus/lib/statestore"
)

Expand Down
2 changes: 1 addition & 1 deletion node/modules/storageminer.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"go.uber.org/fx"
"golang.org/x/xerrors"

dtgraphsync "github.com/filecoin-project/go-fil-components/datatransfer/impl/graphsync"
dtgraphsync "github.com/filecoin-project/go-data-transfer/impl/graphsync"
"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/build"
"github.com/filecoin-project/lotus/chain/address"
Expand Down

0 comments on commit fd2be38

Please sign in to comment.