Cleanup imports after rename

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2019-10-18 13:47:41 +09:00
parent 78dc3e73c3
commit 1bf713cb0a
158 changed files with 561 additions and 561 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/libp2p/go-libp2p/p2p/discovery"
"go.uber.org/fx"
"github.com/filecoin-project/go-lotus/node/modules/helpers"
"github.com/filecoin-project/lotus/node/modules/helpers"
)
const discoveryConnTimeout = time.Second * 30
+2 -2
View File
@@ -16,8 +16,8 @@ import (
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
"go.uber.org/fx"
"github.com/filecoin-project/go-lotus/node/modules/dtypes"
"github.com/filecoin-project/go-lotus/node/modules/helpers"
"github.com/filecoin-project/lotus/node/modules/dtypes"
"github.com/filecoin-project/lotus/node/modules/helpers"
)
type P2PHostIn struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"crypto/rand"
"time"
"github.com/filecoin-project/go-lotus/chain/types"
"github.com/filecoin-project/lotus/chain/types"
"golang.org/x/xerrors"
logging "github.com/ipfs/go-log"
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"github.com/ipfs/go-ipfs/repo"
"github.com/filecoin-project/go-lotus/node/modules/helpers"
"github.com/filecoin-project/lotus/node/modules/helpers"
)
func AutoNATService(quic bool) func(repo repo.Repo, mctx helpers.MetricsCtx, lc fx.Lifecycle, host host.Host) error {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
pubsub "github.com/libp2p/go-libp2p-pubsub"
"go.uber.org/fx"
"github.com/filecoin-project/go-lotus/node/modules/helpers"
"github.com/filecoin-project/lotus/node/modules/helpers"
)
func FloodSub(pubsubOptions ...pubsub.Option) interface{} {
+1 -1
View File
@@ -12,7 +12,7 @@ import (
relay "github.com/libp2p/go-libp2p/p2p/host/relay"
"go.uber.org/fx"
"github.com/filecoin-project/go-lotus/node/modules/helpers"
"github.com/filecoin-project/lotus/node/modules/helpers"
)
func Relay(disable, enableHop bool) func() (opts Libp2pOpts, err error) {