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

Protobuf in blockchain data #34

Open
henriqueaklein opened this issue Apr 16, 2024 · 1 comment
Open

Protobuf in blockchain data #34

henriqueaklein opened this issue Apr 16, 2024 · 1 comment
Assignees

Comments

@henriqueaklein
Copy link
Contributor

The current blockchain implementation serializes and deserializes into crdt by calling scale::encode method on SuperGenius and writing as a base::Buffer. That could make it difficult for the dashboard to get this data.

Consider changing how things are serialized by inserting protobuf structures instead.

@henriqueaklein
Copy link
Contributor Author

Got the block header, hash and data to be serialized/deserialized in protobuf structures, however hash wasn't used on the dashboard, since it's mostly used for internal purposes.

@henriqueaklein henriqueaklein self-assigned this May 2, 2024
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

1 participant