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

De/Serialize signatures (for slate consumption) to compressed format rather than raw #2852

Merged
merged 2 commits into from
May 28, 2019

Conversation

yeastplume
Copy link
Member

This appears to have been an oversight during development of the custom serialization code for secp primitives to change JSON output from arrays to bytes to hex strings. The original byte array format was being output in compressed format, while the custom serializers were using raw data. This wasn't an intentional change, so it would make sense to ensure the data being output as hex strings is in the same format.

This is only being used by grin_wallet to create slates, and no versions have actually been released with the hex/raw data signature format, so it should be safe to include this in 1.1.0. It will mean inconsistencies between beta versions and the 1.1.0 release, but given 1.1.0 should be released any day, this change shouldn't have too much of a negative impact.

@yeastplume yeastplume merged commit bb793de into mimblewimble:master May 28, 2019
@antiochp antiochp added this to the 1.1.0 milestone Jun 5, 2019
@antiochp antiochp added the release notes To be included in release notes (of relevant milestone). label Jun 5, 2019
@yeastplume yeastplume deleted the sig_deserialization branch January 6, 2020 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes To be included in release notes (of relevant milestone).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants