Quantcast
Channel: Active questions tagged merkle-tree - Bitcoin Stack Exchange
Browsing all 94 articles
Browse latest View live
↧

Bitcoin merkle tree

I am sorry can someone help ...Does bitcoin account for forgery attack as a second pre-image attack and how is it implemented?Plus how does bitcoin avoid unbalanced merkle tree.Regards

View Article


Intuition for Simplicity's CheckSigHashAll

So, I downloaded Simplicity and started a REPL using cabal new-repl Simplicity. Then I enabled type applications using :set -XTypeApplications.Consider these invocations:> (pkwCheckSigHashAll...

View Article


What is the Merkle root?

The Bitcoin wiki Vocabulary article explains why the Merkle root exists:Every transaction has a hash associated with it. In a block, all of the transaction hashes in the block are themselves hashed...

View Article

RSA accumulator vs Merkle Proofs

For proof of inclusion (used by SPV nodes) Bitcoin relies on Merkle proofs.Why Merkle trees were chosen and not RSA accumulators, as they can be used to provide a shorter proof?What are the...

View Article

Adding a leaf node to a merkle tree

How can I add data/transactions to a merkle tree and then efficiently re-compute the root hash as well

View Article


Understanding SPV, pruning and its downsides, as well

First of all, sorry by not asking an objective question, it's because I can't resume this one and I didn't find information even in the "mastering bitcoin" book. The large texts in this question are...

View Article

How to find my transaction from root of Merkle Tree [closed]

How could I verify my transaction from the root of Merkle Tree.

View Article

A Bitcoin soft fork idea to help compress the blockchain

I've thought about a soft fork that can help storage costs.Why don't we force miners to embed the height of the TX Merkle tree in the first two bytes of the 4-byte block header version?It would have...

View Article


Is it possible to dynamically add transactions to a merkle tree? [closed]

When i read about merkle trees.. I saw we shall build a system wherein we could club all the transactions that happend in like 10 minutes to stay in a block. I mean.. whatever is known.. the known...

View Article


Merkle root with one transaction

I am trying to build a merkle root which contains only the coinbase transaction from bitcoindAfter creating the coinbase transaction i need to convert it to little endian, hash it twice and then put it...

View Article

Image may be NSFW.
Clik here to view.

CVE-2012-2459 , possible code and performance improvement, is my logic correct?

ok so, in my effort to create a fullnode from scratch both for learning purpose and need (not a topic for discussion, thanks), I was looking at the code that check Merkle Root to not be vulnerable to...

View Article

Image may be NSFW.
Clik here to view.

Merkle Root and Merkle Proofs

This is one of those questions that everyone seems to write about but the same bad explanations are just plagiarized from site to site.Edit: The heart of my question is why Merkle trees are claimed to...

View Article

How do merkle trees ensure credibility to blockchain, when full node wrongly...

How can Merkle Trees ensure that a full node doesn't lie to a thin node that a txn t is not present in a block B if infact B contains t? How can a thin node tell if the full node is lying if the full...

View Article


How does a Merkle proof differ from the Merkle tree?

I'm not sure how Merkle tree and Merkle proof are different. I thought Merkle proof is the same as the Merkle root in each block. However, it seems like Merkle proof contains all Merkle roots of all...

View Article

Is this Merkle hash root problem existent in Bitcoin?

In the Wikipedia article about Merkle trees, I was just reading this, unable to understand where the problem lies:Second preimage attackThe Merkle hash root does not indicate the tree depth, enabling a...

View Article


Do full nodes store the complete merkle tree or do they regenerate it when...

I understand what the merkle root is for. And I understand that blocks don't store the merkle tree.Question 1) Is there any place that the complete merkle trees get stored? I don't mean the merkle root...

View Article

Image may be NSFW.
Clik here to view.

Question about Merkle path verification

I think I understand Merkle verification, but I just want to make sure. Consider this following picture where all the blue nodes were sent to meMy question : if the document that I want to verify is...

View Article


Why binary trees? Is there any particular benefit to using binary trees...

Bitcoin stores transactions in binary Merkle trees. They take O(log2 n) to traverse.If I used something like a ternary tree, where each node (including the root) references three branches/leaves...

View Article

Are hashes of Merkle tree roots unique throughout whole blockchain?

The "Mastering Bitcoin" book says that each block header contains a 32B long hash of the Merkle root for all the transactions it contains.If I extract all these Merkle roots from all the blocks in the...

View Article

Why 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 Article
Browsing all 94 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>