bitcoin-core / btcdeb

Bitcoin Script Debugger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MerkleBranch not generated

zhangbincheng1997 opened this issue · comments

Makefile.am not write relevant code.
but see the relevant code in the historical version : 5bf8c0467530a1827f8197f0a5a78bf559322ffa
yes, it work. but the result is different from your blog.....

https://medium.com/@kallewoof/trying-out-mast-merkelized-abstract-syntax-trees-1c6459fb2b47
image

image

Thanks, waiting for your answer

And when i use this proof, an error occurred.
./btcdeb '[TOALTSTACK 4cae2f5573c5728f37f1a610ff01f8f4adba6474e71d5a50c1354292d04e74a4 OP_2 MERKLEBRANCHVERIFY 2DROP DROP]' '[FROMALTSTACK OP_4 EQUAL]' 00016fd3be48f92d23c4fca81284b450df859271f863d11ab6dd5795b5ce08548691 04

image

Sorry for the misleading article. That one is outdated. Please check out https://github.com/bitcoin-core/btcdeb/blob/master/doc/tapscript-example-with-tap.md instead, for now.

Thanks, this is very useful for me!