Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DHT validator / selector #81

Open
Tracked by #15
vasco-santos opened this issue Mar 7, 2019 · 0 comments
Open
Tracked by #15

DHT validator / selector #81

vasco-santos opened this issue Mar 7, 2019 · 0 comments

Comments

@vasco-santos
Copy link
Member

I am writing the interop tests for the DHT between js and go and I am having an issue with the keys.

Using js-ipfs and go-ipfs daemon, we are able to put / get any type of keys, while it doesn't seem to be the case with go-libp2p. In this context, I think that we should be able to set custom validators/selectors as we are able to do when using the DHT module. Moreover, regarding testing the interop between get and put will be more complex since we would have to use a valid namespace such as ipns and put a valid record.

Example in go tests for custom validators/selectors: libp2p/go-libp2p-kad-dht/dht_test.go#L51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant