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

cleanup how we deal with fixed size vs variable size data files #2757

Merged
merged 1 commit into from
Apr 24, 2019

Conversation

antiochp
Copy link
Member

@antiochp antiochp commented Apr 16, 2019

  • introduce a SizeInfo enum with 2 variants -
    • SizeInfo::FixedSize
    • SizeInfo::VariableSize

The VariableSize variant maintains a size_file internally.

This replaces the current impl where we pass around a couple of seemingly unrelated options which made it unnecessarily complicated.

Refactor only - no change to how any of this works (enum replaces two existing options).

@antiochp antiochp changed the title cleanup how we deal with fixed size vs variable size data files [1.1.0] cleanup how we deal with fixed size vs variable size data files Apr 16, 2019
@antiochp antiochp added this to the 1.1.0 milestone Apr 16, 2019
@antiochp
Copy link
Member Author

Will hold off merging this. Guessing we merge this onto master once 1.1.0 is merged and released.

@antiochp antiochp changed the base branch from milestone/1.1.0 to master April 17, 2019 10:37
@antiochp antiochp changed the title [1.1.0] cleanup how we deal with fixed size vs variable size data files cleanup how we deal with fixed size vs variable size data files Apr 17, 2019
introduce a SizeInfo enum (to replace two options)
@antiochp antiochp force-pushed the cleanup_option_size branch from 411fa8a to a462ac5 Compare April 17, 2019 10:46
@ignopeverell ignopeverell merged commit de21f0d into mimblewimble:master Apr 24, 2019
@antiochp antiochp deleted the cleanup_option_size branch April 25, 2019 09:51
@antiochp antiochp added release notes To be included in release notes (of relevant milestone). and removed release notes To be included in release notes (of relevant milestone). labels Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants