Skip to content

Commit

Permalink
Migrate peering to ipfs/boxo
Browse files Browse the repository at this point in the history
The peering package is being used outside kubo, so should be relocated to boxo.

See ipfs/boxo#473
  • Loading branch information
gammazero committed Oct 13, 2023
1 parent a5668d2 commit ab5e20e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 499 deletions.
2 changes: 1 addition & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ import (

"github.com/ipfs/boxo/namesys"
ipnsrp "github.com/ipfs/boxo/namesys/republisher"
"github.com/ipfs/boxo/peering"
"github.com/ipfs/kubo/config"
"github.com/ipfs/kubo/core/bootstrap"
"github.com/ipfs/kubo/core/node"
"github.com/ipfs/kubo/core/node/libp2p"
"github.com/ipfs/kubo/fuse/mount"
"github.com/ipfs/kubo/p2p"
"github.com/ipfs/kubo/peering"
"github.com/ipfs/kubo/repo"
irouting "github.com/ipfs/kubo/routing"
)
Expand Down
2 changes: 1 addition & 1 deletion core/node/peering.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package node
import (
"context"

"github.com/ipfs/kubo/peering"
"github.com/ipfs/boxo/peering"
"github.com/libp2p/go-libp2p/core/host"
"github.com/libp2p/go-libp2p/core/peer"
"go.uber.org/fx"
Expand Down
325 changes: 0 additions & 325 deletions peering/peering.go

This file was deleted.

Loading

0 comments on commit ab5e20e

Please sign in to comment.