Open JoshOrndorff opened 5 years ago
Requesting reviews: @theophoric @dckc @odeac
Aha, it turns out the Diffie-Hellman-like pattern doesn't not execute in RChain's current interpreter the way this description sounded like it would https://groups.google.com/forum/#!msg/cap-talk/4hPYemjPK_Y/HOnN9cxnBwAJ
See dh.rho for a minimal example
Found the exact problem with bundles breaking the DH pattern. See bundles.rho
for walkthrough
For cross reference: https://rchain.atlassian.net/browse/RCHAIN-2875
A rewrite of the token / purse contract to address security concerns raised by @pyrocto at https://rchain.atlassian.net/browse/RCHAIN-644
I've also changed it stylistically to more closely resemble bitcoin's UTXOs than e's purses.