Validation of segwit v0-v1 tx routinely provides OP_CHECKSIG?

on

|

views

and

comments


Once I create a segwit transaction v0 (P2WPKH) or v1 (P2TR key-path spend) I do like that (let’s spend a P2TR output):

  • Locking Script (of the P2TR output I am spending): OP_1 PK_size PK
  • Witness: 1 (witness_count) SIG_size SIG

So I am questioning, the op code CHECKSIG is routinely added when nodes confirm this transaction?

As a result of with legacy P2PKH transaction you’ve got:

  • Locking Script (of the P2PKH output I am spending): dup + hash_160 + pk_hash_size + pk_hash + equalverify + checksig
  • Unlocking Script: SIG_size SIG PK_size PK

So on this case (P2PKH) there explicitly is the OP_CHECKSIG within the locking script.

Thanks upfront!

Share this
Tags

Must-read

Constructing the Torc Driverless Security Case

At Torc, we’ve structured our security case on three foundational pillars: Engineer It to Be Secure, Function It to Be Secure, and the...

What’s DL+S? Unlocking the Huge Information Required to Develop Autonomous Vans

Breakthroughs in AI for autonomous driving don't occur in isolation. They occur when information, simulation, machine studying, infrastructure, and car testing work as...

Why I can’t wait to get right into a driverless automotive | Self-driving automobiles

Adrian Chiles (Driverless automobiles are taking us on a street to nowhere, 10 September) needs to know who requested for driverless automobiles. I...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here