Understanding v28.0 PayToAnchor script

I am trying to understand the new PayToAnchor script, which is part of v28.0. Here is the script definition:

https://github.com/bitcoin/bitcoin/blob/master/src/script/script.cpp#L207-L222

As I understand, the above script would translate to following:

op_true op_pushdata4 2 4e73

Can someone please confirm that this is correct understanding? Also, what the reason for this particular script for PayToAnchor? It appears that it is not validated - interpreter.cpp#VerifyWitnessProgram, so the script could have been anything else. Is there any specific reason for using this particular script for PayToAnchor?



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/EDtmhC4
via IFTTT

Popular posts from this blog

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitwise Clients Pour $69M Into Solana as Bulls Fight to Reclaim $200 Resistance Zone