go-libp2p-record
go-libp2p-record copied to clipboard
Record Store
Currently, every system working with records just drops the records directly in the datastore. However, we end up with a lot of races when doing this and we end up duplicating a bunch of validator/selector logic at the edges.
See: https://github.com/libp2p/go-libp2p-pubsub-router/issues/25
Instead, we should create a record store that manages all of this for us.