Browse Source

peerstore: move the protobuf to pstoreds

google-protobuf
Marten Seemann 2 years ago
parent
commit
6e2f434578
  1. 2
      p2p/host/peerstore/pstoreds/addr_book.go
  2. 2
      p2p/host/peerstore/pstoreds/addr_book_gc.go
  3. 0
      p2p/host/peerstore/pstoreds/pb/Makefile
  4. 0
      p2p/host/peerstore/pstoreds/pb/custom.go
  5. 0
      p2p/host/peerstore/pstoreds/pb/pstore.pb.go
  6. 0
      p2p/host/peerstore/pstoreds/pb/pstore.proto
  7. 0
      p2p/host/peerstore/pstoreds/pb/pstorepb_test.go

2
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"

2
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"

0
p2p/host/peerstore/pb/Makefile → p2p/host/peerstore/pstoreds/pb/Makefile

0
p2p/host/peerstore/pb/custom.go → p2p/host/peerstore/pstoreds/pb/custom.go

0
p2p/host/peerstore/pb/pstore.pb.go → p2p/host/peerstore/pstoreds/pb/pstore.pb.go

0
p2p/host/peerstore/pb/pstore.proto → p2p/host/peerstore/pstoreds/pb/pstore.proto

0
p2p/host/peerstore/pb/pstorepb_test.go → p2p/host/peerstore/pstoreds/pb/pstorepb_test.go

Loading…
Cancel
Save