Questions tagged [merkleblock]

15 questions
3
votes
1 answer

Do full nodes store the complete merkle tree or do they regenerate it when creating a merkle proof?

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 hashes since I know they are in the block…
2
votes
1 answer

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 blocks. Could anyone explain about Merkle proof…
user19283043
  • 123
  • 3
2
votes
2 answers

What is a mechanism of providing Merkle Path?

In the Bitcoin, SPV node can query that its transaction is included specific block to full node that provides merkle path which has super fast calculation. In terms of full nodes, they have full-ledger and merkle tree that is consist of transaction…
Hyunsoo
  • 363
  • 1
  • 7
1
vote
3 answers

How/where is the mapping of a transaction to a particular block stored?

According to the Bitcoin white paper, a block contains the fields "Previous Hash", "Nonce", and "Root Hash". The root hash is a merkle tree root node of all the transactions that have been confirmed in that particular block. I read in the fifth…
Bittu
  • 23
  • 2
1
vote
2 answers

Why does a thin node need to know if a transaction is present in specific block's merkle tree?

I understand what a merkle root is and how merkle proofs work. It's all about thin nodes checking whether a specific transaction ID is in a specific block. So, thin node says: I have a transaction ID - 12345 and I want to know if this transaction is…
Nika Kurashvili
  • 421
  • 2
  • 6
1
vote
1 answer

How do SPV clients acquire transactions from other nodes and verify that they are part of the blockchain?

I explored SPV clients as a subject from a lot of different resources, but there are a few of things that are keeping me confused: I found out that SPV clients have no mempool even though SPV clients are participating in transaction verification.…
1
vote
1 answer

How Does the SPV merkle path form of multiple transactions in Merkle block looks like?

While I'm studying about the Bitcoin, I've wondered how many merkle paths should be contained in merkle block. From the point of view of Merkle path, it is generated as the form of containing hashes of counterpart stepping up from bottom to top. For…
Ilak
  • 11
  • 2
1
vote
2 answers

How do people using thin clients know the correct merkle path of transactions they've sent without knowing the full block?

User A send a transaction to user B. Those transactions are bundled together into a merkle tree. User A and B can both use the transaction plus the merkle root, plus the merkle path to prove the merkle root in the block header is correct. I…
1
vote
1 answer

What 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 block. The question I have is this: for this process…
Finlay Weber
  • 123
  • 3
1
vote
1 answer

Is the hash of ZMQ channel blockhash a merkleroot hash?

I am using the ZMQ interface of my node to keep track of wallet activity like incoming transactions. I want to know the number of confirmations of my transaction but, to do that, I would need to know in which block the tx is included and calculate…
0
votes
0 answers

How to create "Merkle Path"?

Merkle path is always appeared in many examples relevant with verification of transaction. but they never explain how merkle path is generated. So, I was wondering that how merkle path is generated. I think that there are two parts. Finding a…
Hyunsoo
  • 363
  • 1
  • 7
0
votes
1 answer

How do you get Sibling Hashed Values in a Merkle Proof?

Merkle Proofs are one of the main reasons that people attribute Bitcoin's use of Merkle Trees. But I'm struggling to understand how these work in practice. Please explain theoretically as well as practically. Given that Lightweight Nodes only store…
0
votes
1 answer

Who's exploiting Merkle Root?

What kind of software is going to use a merkle root to know if a transaction is in a block ? I know Thin nodes are doing this but this is a little bit useless since major branches are required. Why don't just do a SHA256(SHA256(...ALL TXs IN A…
Loopite
  • 169
  • 9
0
votes
0 answers

How Can i Extract a Z value of a specific Bitcoin Transaction that Belongs to a merkel tree/root transaction?

am trying to find a z value of a transaction that is signed in a merkle tree/root block , i coudn't find a raw tx id in hex of that specific transaction that signed with specific address while a raw tx id hex is the hashing of all other addresses…
OBL
  • 1
-1
votes
1 answer

Merkle Audit Proofs of Certification vs. Bitcoin Merkle Proofs

The following article explains the process of "Merkle Audit Proofs of Certification". (Link to the article) Is the process the same as "Merkle Proofs in Bitcoin" ? If their process is not the same, what are differences?
Questioner
  • 1,151
  • 8
  • 22