This will allow to enable replay protection at any point in time.
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Maniphest Tasks
- T301: Automatic Future Hardfork Replay Protection
- Commits
- rSTAGING306b4f9c13ca: Implement a flag to trigger replay protection when passed down to SignatureHash
rABC306b4f9c13ca: Implement a flag to trigger replay protection when passed down to SignatureHash
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- plouf
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2054 Build 2255: Bitcoin ABC Buildbot (legacy) Build 2254: arc lint + arc unit
Event Timeline
src/script/interpreter.cpp | ||
---|---|---|
1354 | Add a comment explaining the intention here. It looks like it's intended to scramble values greater than 1-byte in size, but I'm not sure. | |
src/test/sighash_tests.cpp | ||
149 | Shouldn't this one be shold? Seems backwards looking at the function name. | |
151 | If you don't want to name the above variable shold, then maybe call this one shnoReplay to make it clearer? |
Comment Actions
Add comment explaining the replay protection in SignatureHash and add extra tests for it.