Post
Topic
Board Bitcoin Technical Support
Merits 2 from 2 users
Re: Is ChatGPT's answer correct? (Question about P2WPKH)
by
tiffy
on 24/12/2024, 14:37:04 UTC
⭐ Merited by nc50lc (1) ,ABCbits (1)
The signature can be further sorted-out to get the R and S values, refer to BIP66: (https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki#der-encoding-reference)

Many thanks for the reference. I am trying to understand this as a whole and also came across this page:

https://learnmeabitcoin.com/technical/script/p2wpkh/

I hope the explanations there are correct.

I think my difficulties in understanding are due to the fact that I have not yet understood the classic P2PKH procedure in detail. So I still need to study it myself.

One question that is bothering me: What exactly is signed with the P2WPKH procedure? I sign on my offline wallet with the private key material. But what is the input for a signature?

Or to put it another way: How does the Core Client check the correctness of the signature? To which data does the core client (or another Bitcoin programme) apply the coresponding pubkey?