DefraDB is a Peer-to-Peer Edge Database. It's the core data storage system for the Source Network Ecosystem, built with IPLD, LibP2P, CRDTs, and Semantic open web properties.
414
stars
41
forks
source link
Depricate: go-libp2p is removing database-backed peerstore (pstoreds) #1902
// 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.
In net/node.go we use "github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds" that creates our peerstore from the underlying defra rootstore with the appropriate prefix. However now if we are forced to use pstoremem
Note:
In net/node.go we use
"github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds"
that creates our peerstore from the underlying defra rootstore with the appropriate prefix. However now if we are forced to use pstoremem