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

uuid for Profile struct #56

Closed
dauphin3 opened this issue Mar 22, 2023 · 5 comments
Closed

uuid for Profile struct #56

dauphin3 opened this issue Mar 22, 2023 · 5 comments

Comments

@dauphin3
Copy link

dauphin3 commented Mar 22, 2023

It would be convenient to have a uuid field outside the BTreeMap to link to various things, like AgentPubKey

This would allow for changing the nickname, although I'm not sure if that is desired (but Im thinking there may be advantages for a static object linked instead of nickname) then that static object could be linked to the nickname/handle

perhaps it makes sense to make the uid the AgentPubkey

thoughts on the tradeoffs between have both, or just a uuid to linked to an Agent, or none of the above?

@guillemcordoba
Copy link
Contributor

Mmm I'm not sure I follow. It is already possible to change the nickname, using the update_profile zome function.

What would be the objective of adding a uuid? To disambiguate between profile entries? I'm not sure what that would accomplish since we are only referencing actions that create profile entries, so those action hashes are always unique already.

@dauphin3
Copy link
Author

this issue is what made me think of it
GeekGene/mewsfeed#88

also some potential advantages:
-tracking profile updates
-identifying spammers
-opening ways to link additionally metadata

@guillemcordoba
Copy link
Contributor

I don't really understand why adding an UUID makes those things possible... Could you elaborate a bit?

@dauphin3
Copy link
Author

dauphin3 commented Mar 22, 2023 via email

@guillemcordoba
Copy link
Contributor

I'm going to close this for now as "not needed", because the ActionHash will always be unique for an agent creating a profile.

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

2 participants