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

Implement support for explicit enum serialization and use it for Consensus::LLMQType #2945

Merged
merged 2 commits into from
May 29, 2019

Conversation

codablock
Copy link

No description provided.

This allows to serialize enum values, but only if a specialized class of
is_serializable_enum is found which is derived from std::true_type.
Instead of using uint8_t and explicitely casting between the enum
and uint8_t.
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@codablock codablock merged commit 7c3fd25 into dashpay:develop May 29, 2019
@codablock codablock deleted the pr_serialize_llmqtype branch May 29, 2019 08:54
@UdjinM6 UdjinM6 mentioned this pull request May 29, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants