Bitcoin Forum
November 13, 2024, 01:55:31 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Provide the signature hash  (Read 155 times)
MixMAx123 (OP)
Full Member
***
Offline Offline

Activity: 161
Merit: 168


View Profile
December 31, 2023, 02:39:12 AM
Last edit: January 21, 2024, 01:45:37 AM by MixMAx123
 #1

please delete!
whanau
Member
**
Offline Offline

Activity: 121
Merit: 36


View Profile
December 31, 2023, 05:50:22 AM
 #2

This might help

https://tbtc.bitaps.com/ac919ea7cd1564fe0826851076041d58185b2ca04f2305f22dd60b63ac476913

Bottom left has display scripts or raw transaction under the value.

Also perhaps you could change the URL  of this program to point at the testnet...

https://github.com/iceland2k14/rsz
whanau
Member
**
Offline Offline

Activity: 121
Merit: 36


View Profile
December 31, 2023, 09:32:34 PM
 #3

How are you doing the hashing?

are you SHA256 hashing twice?
That might be why the value is wrong

I take it this isn't what you are looking for?

0 P2SH 2NDRD773hJ2aJNNgKNH45CYCzPWQmL6vs5a

SigScript    OP_PUSHBYTES[22] 00148e6e804524d16ff27b51fa0b0e65463028ffd4b8

Witness    304402200d8e8eaa6ecaa92eae1208b04fd6306f02bc66078fab46c9a60bfbf94a49ee180220770 a265fe229918c0d67b0bc73dc4408248939d2b261f2b6ea4b7c9c5bcd123c01 02b17450a1cabad6f734df66e4ea6a85882c8a14ce350733a20f83f2f10448803e
whanau
Member
**
Offline Offline

Activity: 121
Merit: 36


View Profile
December 31, 2023, 10:08:39 PM
 #4

Try this..

https://api.blockcypher.com/v1/btc/test3/addrs/2NDRD773hJ2aJNNgKNH45CYCzPWQmL6vs5a/full?limit=50
whanau
Member
**
Offline Offline

Activity: 121
Merit: 36


View Profile
January 02, 2024, 12:48:10 AM
 #5

Well I get
Code:
Msg: 02000000000101e977d313dd88253458ea455fd4a8256453acd7ad193b2c72ae376492ed338e1f01000000171600148e6e804524d16ff27b51fa0b0e65463028ffd4b8feffffff02ae8421000000000017a9146d27a4bada9013c2edf1820230f945005302e8e48740420f000000000017a914c695375cf8fc5f081c009d33943e581c9dc4e631870247304402200d8e8eaa6ecaa92eae1208b04fd6306f02bc66078fab46c9a60bfbf94a49ee180220770a265fe229918c0d67b0bc73dc4408248939d2b261f2b6ea4b7c9c5bcd123c012102b17450a1cabad6f734df66e4ea6a85882c8a14ce350733a20f83f2f10448803e0a6a1800 


Public key  = b17450a1cabad6f734df66e4ea6a85882c8a14ce350733a20f83f2f10448803e 17a6393dfd1e448bc2d810100e0a4cef8966f92cd866ef7a4e759998a3bf6d2a

r           = d8e8eaa6ecaa92eae1208b04fd6306f02bc66078fab46c9a60bfbf94a49ee18
s           = 770a265fe229918c0d67b0bc73dc4408248939d2b261f2b6ea4b7c9c5bcd123c
z           = 282a1d2d78b6f0e3ca5d1b40f62f18f5c0d8e3208834603989eeef1519ebc2aa

Result r    = dff6f9f14a9ca3e8efaa7775c08426fce0671dbf885316d9a18e242db99853ea




But the 2 r's do not match so either I am doing something wrong or 'witness' is created differently to the legacy way of doing an R,S signature?
Perhaps someone else can help.

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!