Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 30668
5 votes
Accepted

Is the Z value generated before the (r, s) values?

If by z you mean the hash of the message, then yes, z is required to compute s. Therefore, strictly speaking, you need to compute it before s, but not necessarily before r. https://en.wikipedia.org/wi …
sr_gi's user avatar
  • 3,260
2 votes

Why is the signature hash different for each input in a multi-input transaction?

I'd been wondering about this for quite a long time, since it was the reason behind the quadratic hashing problem. The best answer I found so far is the one given by Pieter Wuille in the Bitcoin talk …
sr_gi's user avatar
  • 3,260
2 votes

Hash-Preimage Construction for a two p2pkh Input transaction?

Yes, you are correct. When serializing the transaction for signing, the input you are targeting is set to the ScriptPubKey of the UTXO it is trying to spend, while the other inputs are left empty, Thi …
sr_gi's user avatar
  • 3,260