Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Slate version conversions #13
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.
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.