go-libp2p-record icon indicating copy to clipboard operation
go-libp2p-record copied to clipboard

Record Store

Open Stebalien opened this issue 5 years ago • 0 comments

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.

Stebalien avatar Apr 01 '19 11:04 Stebalien