You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dht.PutValue(key, value) // put/override existing value
dht.Provide(key) // append but only supports peerID
What if we implement a third fn
dht.Append(key, value)
It will be similar to Provide, just we store a value instead of peerID, so that when we try
dht.AppendGet(key)[]Value
We get a list of values
I did a small POC on my local, replacing peer.ID with a string value in Provide and its child functions, it seems working but i need help from you guys, is this a right approach, or any pitfalls I am not seeing
The text was updated successfully, but these errors were encountered:
Currently we have
What if we implement a third fn
It will be similar to Provide, just we store a value instead of peerID, so that when we try
We get a list of values
I did a small POC on my local, replacing peer.ID with a string value in Provide and its child functions, it seems working but i need help from you guys, is this a right approach, or any pitfalls I am not seeing
The text was updated successfully, but these errors were encountered: