Bitcoin Forum
October 02, 2025, 06:18:14 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / "How does it work?"How do full nodes generate Merkle path? on: October 17, 2018, 03:41:00 AM
How do full nodes generate Merkle path(MP)?

As you see. Full nodes generate a MP and give it to a SPV node which request it for verify a transaction when full nodes get the request.

How to get a MP? I don't see any more information. And that's my naturally guess: it's like getting it for the first time, from the leaf nodes ,hash and hash... , until the Merkle root. Then getting the path as required.

Is that true? Each time a request is received from a SPV node, there is a operation involve all the leaf nodes? Is there any other way to reduce computation?

Thanks for your time.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!