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
PR #157 fixed the mutable put with salt, but thinking about the interface, we actually export the logic (target = hash (public_key+salt)) to the user when they try to get a mutable item from DHT.
should we add a different interface for mutable item get like get(public_key, salt, callback) to make the interface more clearly? By this way, I, as a user, needn't care about how to calculate the hash, won't make the same mistake as what #157 fixed.
The text was updated successfully, but these errors were encountered:
This issue appears stale since it has been open for a while with no activity. I'm going to close it for now. If this is still issue, please feel free to leave a comment or open a new issue.
PR #157 fixed the mutable put with salt, but thinking about the interface, we actually export the logic (target = hash (public_key+salt)) to the user when they try to get a mutable item from DHT.
should we add a different interface for mutable item get like
get(public_key, salt, callback)
to make the interface more clearly? By this way, I, as a user, needn't care about how to calculate the hash, won't make the same mistake as what #157 fixed.The text was updated successfully, but these errors were encountered: