Git Product home page Git Product logo

Comments (4)

kallewoof avatar kallewoof commented on May 26, 2024

This should now work correctly as of latest master.

Would you mind double checking and closing the issue if things seem to be correct?

from btcdeb.

passionofvc avatar passionofvc commented on May 26, 2024

hi @kallewoof
very thanks!, It’s work!


script                                   |   stack 
-----------------------------------------+---------
OP_HASH160                               | 93016387
3f58b4f7b14847a9083694b9b3b52a4cea2569ed |       62
OP_EQUAL                                 |       01
#0001 OP_HASH160
btcdeb> step
		<> POP  stack
		<> PUSH stack 3f58b4f7b14847a9083694b9b3b52a4cea2569ed
script                                   |                                   stack 
-----------------------------------------+-----------------------------------------
3f58b4f7b14847a9083694b9b3b52a4cea2569ed | 3f58b4f7b14847a9083694b9b3b52a4cea2569ed
OP_EQUAL                                 |                                       62
                                         |                                       01
#0002 3f58b4f7b14847a9083694b9b3b52a4cea2569ed
btcdeb> step
		<> PUSH stack 3f58b4f7b14847a9083694b9b3b52a4cea2569ed
script                                   |                                   stack 
-----------------------------------------+-----------------------------------------
OP_EQUAL                                 | 3f58b4f7b14847a9083694b9b3b52a4cea2569ed
                                         | 3f58b4f7b14847a9083694b9b3b52a4cea2569ed
                                         |                                       62
                                         |                                       01
#0003 OP_EQUAL
btcdeb> step
		<> POP  stack
		<> POP  stack
		<> PUSH stack 01
script                                   |                                   stack 
-----------------------------------------+-----------------------------------------
                                         |                                       01
                                         |                                       62
                                         |                                       01
btcdeb> step
Drop-in P2SH redeem script
		<> POP  stack
Restoring stack:
- 01
- 62
Script:
- OP_ADD
- 63
- OP_EQUAL
script                                   |                                   stack 
-----------------------------------------+-----------------------------------------
OP_ADD                                   |                                       62
63                                       |                                       01
OP_EQUAL                                 | 
btcdeb> step
		<> POP  stack
		<> POP  stack
		<> PUSH stack 63
script                                   |                                   stack 
-----------------------------------------+-----------------------------------------
63                                       |                                       63
OP_EQUAL                                 | 
btcdeb> step
		<> PUSH stack 63
script                                   |                                   stack 
-----------------------------------------+-----------------------------------------
OP_EQUAL                                 |                                       63
                                         |                                       63
btcdeb> step
		<> POP  stack
		<> POP  stack
		<> PUSH stack 01
script                                   |                                   stack 
-----------------------------------------+-----------------------------------------
                                         |                                       01
btcdeb> step
script                                   |                                   stack 
-----------------------------------------+-----------------------------------------
                                         |                                       01
btcdeb> step
at end of script
btcdeb> 

from btcdeb.

passionofvc avatar passionofvc commented on May 26, 2024

from btcdeb.

kallewoof avatar kallewoof commented on May 26, 2024

Glad it works! Btw btcdeb will repeat the last command if you hit enter so you don't have to type out 'step' every time. ;)

from btcdeb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.