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

Add compression #55

Open
mateuszradomski opened this issue Oct 11, 2023 · 0 comments
Open

Add compression #55

mateuszradomski opened this issue Oct 11, 2023 · 0 comments
Labels
contributor friendly An issue that's relatively easy to pick up by new comers.

Comments

@mateuszradomski
Copy link
Collaborator

Currently, data posted to L1 is linearly serialized, full addresses and full 8 byte values for balances and nonces. By changing the Serialize and Deserialize calls add compression to this, you can choose any one you want:

  • simply gzip the data
  • add variable length integers, something akin you can find in the Bitcoin Protocol
  • instead of storing the full addresses, assign each address to a unique integer and identify accounts with such IDs

You have any questions or problems you can always join our Discord and ask :+]

@mateuszradomski mateuszradomski added the contributor friendly An issue that's relatively easy to pick up by new comers. label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor friendly An issue that's relatively easy to pick up by new comers.
Projects
None yet
Development

No branches or pull requests

1 participant