-
Notifications
You must be signed in to change notification settings - Fork 231
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
OP_SHA256 #40
Comments
TODO: After the required pull requests are merged, it needs |
Hi, Thanks |
The links in the issue description contain the diffs for the vendored changes. In addition to these changes, the atomicswap tools themselves must also be updated to create contract scripts using SHA256-hashed secrets. |
@jrick Apologies for the delay, I must've missed the notification for your pull request into vtcd. Merged now. |
Now that the new OP_SHA256 rules have been activated in Decred, all of the atomic swap tools should switch over to this more secure hash function. They are currently using OP_RIPEMD160 due to the sha256 opcode not having been available in the Decred scripting vm.
Before this can be completed, all of the txscript packages must be updated to recognize the OP_SHA256 version of the atomic swap contract:
@dasource @metalicjames heads up, I'll be creating some PRs for your projects for this change.
The text was updated successfully, but these errors were encountered: