Git Product home page Git Product logo

Comments (3)

prestwich avatar prestwich commented on May 26, 2024 1

works for me after recompiling thanks! 👍

from btcdeb.

prestwich avatar prestwich commented on May 26, 2024

Setting the DEBUG_SIGHASH gives the following additional output:

#004 01000000
#032 82f92de3ee96290265eea85e2ad5c91d4ae05594351ca1d93ea7db8b0c80f9ca
#032 c992651ac89a97aecd0811c1761915a8e2c8f5153d1bdd994a789e6bd86ab717
#032 230666759103969e1df0906f7dd421d83caf2d13f0fb49f11f15435e82caa7bd
#004 01000000
#001 19
#025 76a914ef664686809ac47fdb5a1909bde542f248cf200b88ac
#008 0000000000000000
#004 feffffff
#032 4a647f7c1e328f7e8c3c3b648ead0c819f5c70bac32f318aa13f8c9381d071ef
#004 00000000
#004 01000000
error: Signature must be zero for failed CHECK(MULTI)SIG operation (is this a historical transaction from before NULLFAIL enforcement? Try with --modify-flags=-NULLFAIL)

I checked this against my bip143 implementation. It looks like the prevout value is not being set properly (the #008 0000000000000000). Other than that, everything is fine. This may be some problem with the --txin=... logic? (or I may be misunderstanding it? it seems to work properly for other txns)

from btcdeb.

kallewoof avatar kallewoof commented on May 26, 2024

You are absolutely right; the value was somehow hard-coded to use the 0th input, it looks like. Will push a fix in a bit, once I know that's actually the issue.

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.