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

Slate version conversions #13

merged 8 commits into from Mar 12, 2019


None yet
1 participant
Copy link

commented Mar 11, 2019

Bit messy thus far, but trying to come up with a scheme that will let the wallet upgrade and downgrade slate versions as needed in as transparent a manner as possible. Each slate version can upgrade or downgrade itself to the next/previous versions, while the latest version should be able to deserialise into the current Slate.


yeastplume added some commits Mar 11, 2019


This comment has been minimized.

Copy link
Member Author

commented Mar 12, 2019

Updated now. Newer wallets should be able to receive slates from older wallets, convert them to the latest format, then downgrade them back to the earlier format to send them back. A few version fields were added to the V2 slate struct to facilitate this.

Also added a new command line arg for the send command that allows user to target an earlier slate version, if they absolutely have to send a slate to an older wallet.

@yeastplume yeastplume changed the title [WIP] Slate version conversions Slate version conversions Mar 12, 2019

yeastplume added some commits Mar 12, 2019

@yeastplume yeastplume merged commit 02655af into mimblewimble:master Mar 12, 2019

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress

@yeastplume yeastplume deleted the yeastplume:slate_updates branch May 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.