I’m trying to put a record in the DHT, but it’s throwing an error that I can’t seem to identify the origin of.
When I try to put the key
/custom-prefix/something and corresponding data into the DHT, it complains that it’s an
Unrecognized key prefix, however, when I look through the codebase I can’t seem to find what’s causing that or what I need to do to give it a recognized prefix.
Is there something I need to do to give it a recognized prefix?
Edit: Looks like it was just because I had a
/ at the beginning. Not sure if that’s a consistent ux though because interface-datastore shows including
/ at the beginning. Might just be helpful to clarify it in the DHT docs.