Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Floonet] Switch commitments #2157
Re-opening this because I messed #2007 up.
This PR adds switch commitments following the scheme defined in #998. Blinding factors are modified to
If in the future doubts arise about the existence of mechanisms that would break the discrete logarithm between
Wallets that want to use switch commitments should add a configuration option
I have constructed this PR in a way that wallets can either use switch commitments, or not use them. I do not think it is a good idea to let wallets have both types (or possibly even more than 2) at the same time. This is because if we want to use switch commitments, everyone should use them. In that case we don't want outputs that don't have the switch commitment lingering around. The same holds if we ever want to change to a different type of switch commitment. In those cases the users should create a new wallet and transfer their funds to it.
This was referenced
Dec 14, 2018
I think if we're going to be merging this into Floonet directly, we shouldn't need a flag to switch them on or off. We can just assume switch commits are the way forward and merge them into the forthcoming branch.
So I'd suggest: