Giter Club home page Giter Club logo

Comments (11)

svyatonik avatar svyatonik commented on September 4, 2024
TRACE:verification::chain_verifier: transaction signature verification failure: EvalFalse
TRACE:verification::chain_verifier: input:
OP_0 0x
OP_PUSHBYTES_72 0x3045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303
OP_PUSHBYTES_73 0x30460221008431bdfa72bc67f9d41fe72e94c88fb8f359ffa30b33c72c121c5a877d922e1002210089ef5fc22dd8bfc6bf9ffdb01a9862d27687d424d1fefbab9e9c7176844a187a01
OP_PUSHDATA1 0x52483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303210378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71210378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c7153ae

TRACE:verification::chain_verifier: output:
OP_HASH160
OP_PUSHBYTES_20 0xd8dacdadb7462ae15cd906f1878706d0da8660e6
OP_EQUAL

from parity-bitcoin.

svyatonik avatar svyatonik commented on September 4, 2024

hmmm...after another run it is verified

from parity-bitcoin.

NikVolf avatar NikVolf commented on September 4, 2024

possible out-of-order verification?

from parity-bitcoin.

svyatonik avatar svyatonik commented on September 4, 2024

Not sure - then error must be something like missing input or inconclusive
btw @NikVolf is there an easy way to delete couple of blocks from storage? I want to get back to this block

from parity-bitcoin.

svyatonik avatar svyatonik commented on September 4, 2024

btw here: https://webbtc.com/script/5df1375ffe61ac35ca178ebb0cab9ea26dedbd0e96005dfcee7e379fa513232f:1 result is also false. so maybe it is again about some verification flags

from parity-bitcoin.

NikVolf avatar NikVolf commented on September 4, 2024

delete? no
i can write rollback-to-hash function

from parity-bitcoin.

svyatonik avatar svyatonik commented on September 4, 2024

I think it would be useful to test cases like that :) But it is not high-priority feature right now, so maybe in future.
As about this issue, I'll resync once again to try to repeat this after syncing to the end (currently on block 296837)

from parity-bitcoin.

NikVolf avatar NikVolf commented on September 4, 2024

https://github.com/ethcore/parity-bitcoin/pull/220/files

from parity-bitcoin.

svyatonik avatar svyatonik commented on September 4, 2024

Finally reproduced this again. Trying to debug with rollback function (thanks, Nikolay :) )

from parity-bitcoin.

svyatonik avatar svyatonik commented on September 4, 2024

Update:

  1. issue is stable now for me => I don't know how we have verified this block before :) Maybe some transactions were not verified before?
  2. issue is with transaction: https://webbtc.com/tx/5df1375ffe61ac35ca178ebb0cab9ea26dedbd0e96005dfcee7e379fa513232f
  3. this is script with issue:
    https://webbtc.com/script/5df1375ffe61ac35ca178ebb0cab9ea26dedbd0e96005dfcee7e379fa513232f:1
  4. it is about OP_CHECKMULTISIG:
stack = [, 3045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303, 30460221008431bdfa72bc67f9d41fe72e94c88fb8f359ffa30b33c72c121c5a877d922e1002210089ef5fc22dd8bfc6bf9ffdb01a9862d27687d424d1fefbab9e9c7176844a187a01]
script = [
OP_2
OP_PUSHBYTES_72 0x3045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303
OP_PUSHBYTES_33 0x0378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71
OP_PUSHBYTES_33 0x0378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71
OP_3
OP_CHECKMULTISIG
]
  1. check_signature returns false for two first keys + first signature

from parity-bitcoin.

svyatonik avatar svyatonik commented on September 4, 2024

The problem is that Script::find_and_delete is called for signatures without opcode, while bitcoind is trying to find match OP_PUSH* + signature

from parity-bitcoin.

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.