Bitcoin Forum
October 16, 2024, 11:51:18 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does every transaction have R, S and Z values?  (Read 275 times)
wistoshi (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 1


View Profile
May 27, 2019, 06:39:17 PM
Merited by ABCbits (1)
 #1

I  have a question regarding this which seems to extract R, S and Z values from a raw transaction :

https://2coin.org/getRSZfromRawTX.html

My question is does every implementation of bitcoin generate those values? If I want to create a bitcoin transaction from scratch, would I have to calculate those values?

Thanks.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3514
Merit: 6863


Just writing some code


View Profile WWW
May 27, 2019, 08:38:10 PM
Merited by Foxpup (3), bones261 (2), ABCbits (1)
 #2

Every single transaction signature has those values. Not all transactions have signatures as signatures are not required unless specified to be by the scripts. The vast majority of transactions have signatures, so they all have R, S, and Z values. R and S are provided in the signature, Z is computed from the transaction data itself. The wallet software (or transaction creation software) handles all of this for you as you really don't want to be creating a signature with manual calculations.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!