From ea67c902a31968ca14c5075e6715cd220b79e70b Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 14 Aug 2023 11:01:57 +0700 Subject: [PATCH] peerstore: deprecate the database-backed peerstore --- p2p/host/peerstore/pstoreds/deprecate.go | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 p2p/host/peerstore/pstoreds/deprecate.go diff --git a/p2p/host/peerstore/pstoreds/deprecate.go b/p2p/host/peerstore/pstoreds/deprecate.go new file mode 100644 index 0000000000..b549871c31 --- /dev/null +++ b/p2p/host/peerstore/pstoreds/deprecate.go @@ -0,0 +1,5 @@ +// Deprecated: The database-backed peerstore will be removed from go-libp2p in the future. +// Use the memory peerstore (pstoremem) instead. +// For more details see https://github.com/libp2p/go-libp2p/issues/2329 +// and https://github.com/libp2p/go-libp2p/issues/2355. +package pstoreds