Post
Topic
Board Development & Technical Discussion
Merits 4 from 1 user
Re: Why cant get RSZ from Bitcoin Transaction?
by
nc50lc
on 02/01/2024, 07:01:35 UTC
⭐ Merited by MixMAx123 (4)
For example this one?

TestNet TxId:  ac919ea7cd1564fe0826851076041d58185b2ca04f2305f22dd60b63ac476913
According to BIP143: https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki#p2sh-p2wpkh
That transaction's Z-value should be:
Code:
67927cd4db3a11cd954cf8903f65f1ddbd0e601cba1a3b74cf1136e53f509592
SHA2562x of (remove breakspaces):
Code:
02000000
a8ea6358b5a2efe25e5b6813b5298c603666c90b3061eea0aed7108588ce6f52
18606b350cd8bf565266bc352f0caddcf01e8fa789dd8a15386327cf8cabe198
e977d313dd88253458ea455fd4a8256453acd7ad193b2c72ae376492ed338e1f01000000
1976a9148e6e804524d16ff27b51fa0b0e65463028ffd4b888ac
77cd300000000000
feffffff
8942f7fbf60d9102e812e3d720d2c0918f68b1dbb3cd7e76366ddf055e051f56
0a6a1800
01000000

But since we can't find a tool that supports SegWit, I can't cross-check if it's correct.