Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: About Dublicate R and S
by
nc50lc
on 04/12/2024, 07:22:08 UTC
⭐ Merited by Cricktor (1)
I could not verify the signature in this process. When I find the Z value, the Kx value of point K (i.e. R) is not verified. Am I wrong in calculating the message.
-snip-
Yes.
All inputs, together with those with the same R and S are signed with [SINGLE|ANYONECANPAY] (0x83) sighash flag.
But you've calculated the message hash for SIGHASH_ALL (0x01).

Problem is, I cannot find a single "RSZ tool" that can check for the sighash_flag then switch the z-value calculation algorithm accordingly.

With that; DYOR, I'll just leave you some references: