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

handle transaction inputs correctly #512

Merged
merged 2 commits into from
Sep 7, 2020

Conversation

antiochp
Copy link
Member

@antiochp antiochp commented Aug 24, 2020

Do not merge prior to mimblewimble/grin#3419 - DONE


Related mimblewimble/grin#3419

The node PR above defaults transactions to protocol version v3 which use "commit only" inputs, omitting the input features.

This PR updates how we create default empty transactions to ensure we continue to use "features and commit" inputs correctly.
Grin wallet serializes/deserializes transactions to the db in v1 format and we need to ensure we handle inputs correctly.

@antiochp antiochp force-pushed the inputs_commit_only branch 2 times, most recently from 37bdac1 to 7342e07 Compare September 3, 2020 16:37
@antiochp antiochp marked this pull request as ready for review September 3, 2020 16:47
@antiochp
Copy link
Member Author

antiochp commented Sep 7, 2020

mimblewimble/grin#3419 is now merged.
Updated Cargo.lock to reference latest sha on master for the various grin crates.
I will merge this PR once the tests pass.

@antiochp antiochp merged commit 073c63a into mimblewimble:master Sep 7, 2020
@antiochp antiochp deleted the inputs_commit_only branch September 7, 2020 17:04
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.

1 participant