<p>I have an output script:  OP_DUP OP_HASH160 629dba50de30602afbf52b89bd0de056b0ad0e92 OP_EQUALVERIFY OP_CHECKSIG</p>

<p>and an input script for a next transaction:  script_asm" : "30450221008d928cf86eec73535e401e22db895f23d2a04ecb355fa3acfaa6c88de278606602200b34186f5bb90023c06f68bc401276ae7db55433eb0e5b5846a0edb3938876e601 026c6090ef2c100a1beea5c0584de29925d070ebc614fd00f52832250c5b66873c</p>

<p>My understanding is that the output script is a set of conditions that have to to be presented to claim ownership of the coins. </p>

<p>Unfortunately, the page here: <a href="https://en.bitcoin.it/wiki/Script" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Script</a>
is not very clear as to how the output script is executed step by step. </p>

<p>What I mean is what happens at each stage of these OP codes:
OP_DUP 
OP_HASH160 
629dba50de30602afbf52b89bd0de056b0ad0e92 
OP_EQUALVERIFY 
OP_CHECKSIG</p>

CC BY-SA 3.0
2018-04-28T15:31:04.387Z
Doesn't this help? https://screenshotscdn.firefoxusercontent.com/images/58380c05-2488-4982-800f-56c6453d7acf.png
MCCCS
CC BY-SA 3.0
2018-04-28T15:45:28.673Z
@MCCS not really, is there any example out there where I can see thne script in action? Not just the description of the script
Rosh
CC BY-SA 3.0
2018-04-28T17:06:33.947Z
I think what I'm really trying to ask is, how I manually verify the scriptpubkey against the scriptsigkey
Rosh
<bitcoin-core><bitcoind><litecoin>
How do I decipher the output script one op code at a time
Rosh
# How do I decipher the output script one op code at a time

(Asked by: username_0 on 2018-04-28)

I have an output script: OP\_DUP OP\_HASH160 629dba50de30602afbf52b89bd0de056b0ad0e92 OP\_EQUALVERIFY OP\_CHECKSIG

and an input script for a next transaction: script\_asm" : "30450221008d928cf86eec73535e401e22db895f23d2a04ecb355fa3acfaa6c88de278606602200b34186f5bb90023c06f68bc401276ae7db55433eb0e5b5846a0edb3938876e601 026c6090ef2c100a1beea5c0584de29925d070ebc614fd00f52832250c5b66873c

My understanding is that the output script is a set of conditions that have to to be presented to claim ownership of the coins.

Unfortunately, the page here: <https://en.bitcoin.it/wiki/Script>
is not very clear as to how the output script is executed step by step.

What I mean is what happens at each stage of these OP codes:
OP\_DUP
OP\_HASH160
629dba50de30602afbf52b89bd0de056b0ad0e92
OP\_EQUALVERIFY
OP\_CHECKSIG

**Tags:** bitcoin-core, bitcoind, litecoin

> **Comments:**
> **username_1**: Doesn't this help? https://screenshotscdn.firefoxusercontent.com/images/58380c05-2488-4982-800f-56c6453d7acf.png  
> **username_0**: @MCCS not really, is there any example out there where I can see thne script in action? Not just the description of the script  
> **username_0**: I think what I'm really trying to ask is, how I manually verify the scriptpubkey against the scriptsigkey  

---

## 0 answers

