diff --git a/p2p/host/peerstore/pstoreds/addr_book.go b/p2p/host/peerstore/pstoreds/addr_book.go index c97eee166..b9ea085be 100644 --- a/p2p/host/peerstore/pstoreds/addr_book.go +++ b/p2p/host/peerstore/pstoreds/addr_book.go @@ -10,7 +10,7 @@ import ( "github.com/libp2p/go-libp2p/core/peer" pstore "github.com/libp2p/go-libp2p/core/peerstore" "github.com/libp2p/go-libp2p/core/record" - pb "github.com/libp2p/go-libp2p/p2p/host/peerstore/pb" + pb "github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds/pb" "github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoremem" lru "github.com/hashicorp/golang-lru/v2" diff --git a/p2p/host/peerstore/pstoreds/addr_book_gc.go b/p2p/host/peerstore/pstoreds/addr_book_gc.go index 007582877..37617e238 100644 --- a/p2p/host/peerstore/pstoreds/addr_book_gc.go +++ b/p2p/host/peerstore/pstoreds/addr_book_gc.go @@ -7,7 +7,7 @@ import ( "time" "github.com/libp2p/go-libp2p/core/peer" - pb "github.com/libp2p/go-libp2p/p2p/host/peerstore/pb" + pb "github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds/pb" ds "github.com/ipfs/go-datastore" "github.com/ipfs/go-datastore/query" diff --git a/p2p/host/peerstore/pb/Makefile b/p2p/host/peerstore/pstoreds/pb/Makefile similarity index 100% rename from p2p/host/peerstore/pb/Makefile rename to p2p/host/peerstore/pstoreds/pb/Makefile diff --git a/p2p/host/peerstore/pb/custom.go b/p2p/host/peerstore/pstoreds/pb/custom.go similarity index 100% rename from p2p/host/peerstore/pb/custom.go rename to p2p/host/peerstore/pstoreds/pb/custom.go diff --git a/p2p/host/peerstore/pb/pstore.pb.go b/p2p/host/peerstore/pstoreds/pb/pstore.pb.go similarity index 100% rename from p2p/host/peerstore/pb/pstore.pb.go rename to p2p/host/peerstore/pstoreds/pb/pstore.pb.go diff --git a/p2p/host/peerstore/pb/pstore.proto b/p2p/host/peerstore/pstoreds/pb/pstore.proto similarity index 100% rename from p2p/host/peerstore/pb/pstore.proto rename to p2p/host/peerstore/pstoreds/pb/pstore.proto diff --git a/p2p/host/peerstore/pb/pstorepb_test.go b/p2p/host/peerstore/pstoreds/pb/pstorepb_test.go similarity index 100% rename from p2p/host/peerstore/pb/pstorepb_test.go rename to p2p/host/peerstore/pstoreds/pb/pstorepb_test.go