go-libp2p-pubsub-router icon indicating copy to clipboard operation
go-libp2p-pubsub-router copied to clipboard

Putting values in the datastore races with the DHT

Open Stebalien opened this issue 5 years ago • 1 comments

Related to: https://github.com/libp2p/go-libp2p-kad-dht/issues/151.

I'm starting to think we should use a DHT record service instead of a datastore. The record service would end up owning the validator and would handle all record updates/validation internally.

Stebalien avatar Mar 01 '19 22:03 Stebalien

FWIW I think this might be part of several abstractions that aren't quite appropriate around the DHT: https://github.com/libp2p/go-libp2p-kad-dht/issues/283#issuecomment-469125952.

anacrolix avatar Mar 05 '19 05:03 anacrolix