Skip to content

Commit 2afc474

Browse files
selloutdaira
andauthored
Addressing post-hoc PR feedback on #174 (#197)
* Add ECC & myself (Greg Pfeil) as authors * Have the Rust impl correctly report “high s” sigs There is a bug in the C++ side where the error is not set correctly on a “high s” signature. The Rust side had mirrored this bug, but this eliminates the bug in the Rust. * Remove extra byte from sig before low-s check This doesn’t seem to have any effect on the semantics, as the DER-formatted signature includes lengths that ensure it will ignore extra bytes, but the C++ code removes the extra byte, so the Rust should as well. * Change some comments Co-authored-by: Daira-Emma Hopwood <[email protected]> * Appease `rustfmt` * Have OP_DUP match the C++ impl more closely * Address the second half of @daira’s #174 review * Eliminate mutation from `Opcode` parsing This now splits slices and returns the remaining pieces rather than modifying the arguments. * Remove obsolete comment * Address PR comments * Address additional comments on #174 --------- Co-authored-by: Daira-Emma Hopwood <[email protected]>
1 parent 228ec8b commit 2afc474

File tree

5 files changed

+203
-254
lines changed

5 files changed

+203
-254
lines changed

Cargo.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
[package]
22
name = "zcash_script"
33
version = "0.2.0"
4-
authors = ["Tamas Blummer <[email protected]>", "Zcash Foundation <[email protected]>"]
4+
authors = [
5+
"Electric Coin Company <[email protected]>",
6+
"Greg Pfeil <[email protected]>",
7+
"Tamas Blummer <[email protected]>",
8+
"Zcash Foundation <[email protected]>",
9+
]
510
license = "Apache-2.0"
611
readme = "README.md"
712
build = "build.rs"

0 commit comments

Comments
 (0)