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

Store member keys in compressed form to lower the size of CommunityDescription #4942

Open
osmaczko opened this issue Mar 19, 2024 · 0 comments

Comments

@osmaczko
Copy link
Contributor

          If a refactor is going to be done for community members, please do include the following:

Community members are stored like this in the community description:

map<string,CommunityMember> members = 2;

with the string key containing a 130char string with the member public key ("0x" + 128 hex characters). We should use instead the 33 bytes compressed version with no "0x" prefix to save space.

Originally posted by @richard-ramos in status-im/status-desktop#12188 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant