Are pool provided merkle branches trustable?
I'm a beginner is this field. Can someone explain to me how mining pool provided merkle branches are valid?Normally, when we make the root, it starts from top to bottom, a single change in order can...
View ArticleDoes inserting a Tapret commitment leaf invalidate the existing control block...
I'm researching how RGB uses Taproot commitments (Tapret, LNPBP-12) and ran a transfer experiment on testnet: 64a14551...c20b6b.The RGB client output shows the state anchored at...
View ArticleIs the hash of the coinbase transaction needed for the merkle root?
I was interested on how mining software works down to the bytes. I came across this well written article right here:http://www.righto.com/2014/02/bitcoin-mining-hard-way-algorithms.htmlUnder Notes and...
View ArticleHow to compute MAST commit bytes in bitcoin payment?
The hash digests used to create the commitments are each 32 bytes, so proving that aspend of Figure 7-6 is authorized (using a merkle tree and the particular conditions)and authenticated (using...
View ArticleTransaction ordering for constructing the same merkel node from a given...
Ordering of the corresponding siblings for a given transaction included in a block , for transaction validation will be required , since the merkle root which is present inside the block header will be...
View ArticleWhy is the full Merkle path needed to verify a transaction?
If I have transaction A and wish to verify that it is in the block, and I also have the hash of transaction B and the hash of the hashes of A and B, then can't I just hash A and then see if what I get...
View ArticleCoinbaseTx Id on Witness Commitment Merkle Tree
The witness commitment located in one output of the coinbase transaction contains:OP_RETURN commitment_prefix|witness_commitmentWhere commitment_prefix=0xaa21a9ed...
View ArticleHow are txns sorted correctly in Merkle trees between nodes and validated via...
I am interested in exactly what happens to transactions in the pending block (block that is being mined at the time). From what I understand, transactions are the stored as a Merkle tree hash inside...
View ArticleCombine two p2tr addresses into one
Is it possible to combine two (or more) P2TR addresses into a single P2TR address spendable by the owner of any one of the input addresses? I.e. like a 1-of-N multisig. Something like making tapscript...
View ArticleHow can I get the wtxid and its corresponding merkle proof of the said wtxid?
Are there any available block explorers that will supply a transaction's wtxid and its corresponding merkle proof of the said wtxid?If not, how would I retrieve this if i'm running bitcoind?
View ArticleWhat guarantees the validity of merkle root used in the merkle inclusion proof?
I understand Merkle roots can be used for Merkle inclusion proofs, where a client/validator can quickly check if a transaction is part of the block without requesting all the transactions in the...
View ArticleIs there anything fo the RPCs that can automically create a body of...
Trying to get some commands that can construct the block body for me, and then output that along with the merkle root, based on an input address.It's fine if they are done as two separate commands,...
View ArticleHow do you know that Block, the Merket Root & the hashes in the path are...
I went through this Q & A on Merkle RootWhat is the Merkle root?And several others on the Merkle Root & the Merkle Tree. I understand what is a Merkle Tree & how you can take use your...
View ArticleIs Merkle tree pruning described in the whitepaper feasible/useful? If not,...
When I was reading bitcoin-paper-errata-and-details.md written by David A. Harding, I realized that there's probably a common misunderstanding or over-simplification about Merkle tree pruning. What...
View ArticleNBitcoin doesn't produce same TapRoot address?
I have a script that works perfectly in creating an inscription taproot address with Javascript https://gist.github.com/ChristianOConnor/fa07462990a74606f486f97031783e50. I committed the private key...
View ArticleI need help embedding a message into a Tapscript spend
I have a script that works perfectly in creating an inscription taproot address with Javascript https://gist.github.com/ChristianOConnor/fa07462990a74606f486f97031783e50. I committed the private key...
View ArticleHow can taproot transactions manage to store so much data?
I don't quite understand how ordinals are able to store so much data on chain. I know about the ordinals envelope.OP_FALSE OP_IF OP_PUSH "ord" OP_PUSH 1 OP_PUSH "text/plain;charset=utf-8" OP_PUSH 0...
View ArticleHow can an external party be sure that node's response is valid?
Assume that 51% of nodes are honest and 49% malicious. Fur sure, longest chain would make the chains consistent/same all over the world as 51% can outweigh the 49%, but my question is slightly...
View ArticleWho gives SPV nodes merkle path to do validation for small subset of...
From Mastering bitcoin:Merkle trees are used extensively by SPV nodes. SPV nodes don’t have all transactions and do not download full blocks, just block headers. In order to verify that a transaction...
View ArticleWhat is the canonical way of creating merkle tree branches?
I'm currently looking into creating some compact merkle tree branches to prove that a given hash was included in a given merkle root. My initial thought was to list the leaf, the merkle root and all of...
View Article