IOTA tutorial 18: Merkle Tree

  Рет қаралды 41,811

Mobilefish.com

Mobilefish.com

Күн бұрын

Пікірлер: 52
@drj0913
@drj0913 5 жыл бұрын
This is very clearly explained. Thank you. One small addition would help. To be explicit about which hashed values need to be provided and why. I'm inferring from what was presented that the 4 hashed values that need to be provided in this example are the siblings of the newly computed value at each level. See ~3:30. Once the hash for m6 is computed, it becomes part of the Merkle Tree at level 5. Then it is combined with the sibling to the right, also at level 5. When the hash is computed, the new value at level 4, one level up, is combined with its sibling, the blue node is given, in the position to the right and a new hash is computed. That new value for the node at level 4 is combined with the provided sibling node at level 4 to yield the grey node at level 3. Once that's computed then it is combined with the provided sibling node at level 2, and finally, the hash computed is combined with the given blue sibling to the right to yield the root node, which is compared to verify that it was not modified. Level 2, the sibling is at the right Level 3, the sibling is at the left Level 4, the sibling is to the left Level 5, the sibling is at the right side of the computed node,
@manojrao9867
@manojrao9867 3 жыл бұрын
Thank you very much.
@azamatbagatov4933
@azamatbagatov4933 3 жыл бұрын
i watched a lot of videos on Merkle trees but this is the only one that really helped me understand what it is. Thank you!
@tallsamurai7861
@tallsamurai7861 3 жыл бұрын
This is by far the best explanation I have seen on Merkle trees
@Randomuser.anonymous
@Randomuser.anonymous 5 жыл бұрын
It has been a long time since I watched a tutorial explained in this great and well-organized way. Well done, and thank you!
@kartikeyabhargava2957
@kartikeyabhargava2957 6 жыл бұрын
This is so brilliantly done. Thank you for this and keep up the great work. I use this frequently to explain the usage of Merkle Trees to people.
@wil8785
@wil8785 6 жыл бұрын
Absolutely incredible. I love you. Adopt me. Be my teacher fovever. Don't stop being you. It makes sense, I have learned abut merkle trees about 5 times never gave a shit until you explained it to me, then I saw why we use them.
@jabl91
@jabl91 6 жыл бұрын
Excellent tutorial! Waiting anxiously for your next video :)
@your-digital-bodyguard
@your-digital-bodyguard 6 жыл бұрын
Robert, I love your videos, you're an amazing teacher. I am an IOTA developer and I think you should keep the title Merkle Trees as most IOTA devs that develop MAM don't know the Merkle tree is used.
@vishallad1668
@vishallad1668 6 жыл бұрын
Along with merkle tree , this video also explain its usage (for usage explanation jump to ~2:20) .. nice video.
@rishabhbhatnagar6795
@rishabhbhatnagar6795 4 жыл бұрын
Saw this comment at 2:18.
@12819421
@12819421 4 жыл бұрын
Well explained, simple and comprehensive. Thank you, few clarifications, please do help with them MERKLE TREE Properties says 1. Number of leaves always 2^n, where n = 0, 1, 2, 3 .. etc Explained even number of leafs, what happens when n=0, that means single leaf for a parent node? in this case how the appended hash will be achieved for that node? since there will be a single hash. 2. Each node will have 0 or two children Then, what is the significance of the node with '0' children?
@swaaalla
@swaaalla 5 жыл бұрын
That was really good. Do you also explain why you must follow the path of the blue nodes, they all seem to be the opposing hash.
@penguinmonk7661
@penguinmonk7661 5 жыл бұрын
Thank you, this was a very nice tutorial and a perfect preperation for a paper I am about to read, bless you
@ajinkyanarwade
@ajinkyanarwade 5 жыл бұрын
Thank you for the lucid explanation.
@amalsunil4722
@amalsunil4722 4 жыл бұрын
Great explanation sir! But I have a doubt ..... how are the hashes of the intermediate levels of the Merkle tree readily available from other nodes? if they are available then why don't we just get the hash of the message we want to check if it's tampered with?
@Akash-rs6qv
@Akash-rs6qv 6 жыл бұрын
Thanks for this amazing tutorial !!
@ethandong7037
@ethandong7037 4 жыл бұрын
Very clear and well explained. Thank you!
@hasmize
@hasmize 5 жыл бұрын
Excellent explanation Sir. Thanks.
@user-ze4qq8mm1q
@user-ze4qq8mm1q 2 жыл бұрын
best 6 minutes of my life
@sanchez112zak
@sanchez112zak 6 жыл бұрын
Jian Yaaaaaang Thanks for the great tutorial! :)
@cooperchai5289
@cooperchai5289 2 жыл бұрын
Good explanation!
@mockingbird3809
@mockingbird3809 4 жыл бұрын
3:49 If we need to prove m6 is not modified, Why we need to send m7's hash and the hash of the sibling? Shouldn't we send m6's hash and such? I don't understand that part.
@horaciolampe166
@horaciolampe166 3 жыл бұрын
Excellent video!!!!!!
@akinyemidayotafiq
@akinyemidayotafiq Жыл бұрын
I'm excited to see exchanges like MEXC Binance and others allowing users to validate their assets using the binary hash tree. This is gonna increase users trust for them. Yeah
@josephdeatrick3661
@josephdeatrick3661 5 жыл бұрын
what is the standard protocol for adding to a Merkle Tree if your data doesn't break nicely into a power of 2? i.e. if we currently have 8 blocks of data and then want to append another one.
@cawaiipun
@cawaiipun 4 жыл бұрын
thank you, very well-explained!
@georgemavimbela
@georgemavimbela 6 жыл бұрын
Thnak u so much this was so easy to understand
@parkerqi5543
@parkerqi5543 3 жыл бұрын
great video!
@yahortsaryk2842
@yahortsaryk2842 4 жыл бұрын
thanks, it clears a lot
@brunopreto2750
@brunopreto2750 5 жыл бұрын
Very helpful. Thanks.
@rishabhbhatnagar6795
@rishabhbhatnagar6795 4 жыл бұрын
I don't understand why verification by merkle tree requires siblings of successors from message block to root.
@oscaryiudev
@oscaryiudev 3 жыл бұрын
How to define the message is m6 but not other?
@SS-605
@SS-605 6 жыл бұрын
Hi Professor, I have a question. In the example where you explained about what are the hash values, Alice needs to send Bob while using Merkle Hash Tree. Can you please tell me how to decide that what hashed sibling values Alice has to send? For instance, if we look at the leaf node m6 then off course m6 hash is not required to be sent (because Bob should compute it) so we select hash of m7. but later on why the hashed value from the leftmost part of the tree? why not the rightmost part of the tree? Sorry, I am pretty naive to this field I hope you will guide me. Thank you for your amazing effort in making these videos. I hope you will come up with more videos covering other crypto areas as well.
@BongboBongbong
@BongboBongbong 6 жыл бұрын
So the data is indeed sent to Bob (then Bob computes hash). Call the level of the data level 0. When Bob calculates the hash of the data that was sent, he has available one hash on level 1 (one level higher than the original data). Then, in order to proceed to calculate the root hash, you need the hash value of the sibling of the data that was sent... Because you want to combine this sibling's level 1 hash with the hash you computed from the data that was sent. If you have that sibling's hash, you can compute a hash of level 2 by combining the two level 1 hashes you have available now. But in order to be able to proceed to a level 3 hash, you need the 'neighbor' hash of the level 2 hash you calculated. This explains exacly the hashes you need to send in a Merkle tree. :)
@SS-605
@SS-605 5 жыл бұрын
@@BongboBongbongThank you sir. Can you please tell me which type of traversal it is? If I am not wrong there are further classifications for traversal styles in Merkle Tree.
@HollyVanHart
@HollyVanHart 6 жыл бұрын
💗 Great video! 😍 😻
@daviz3981
@daviz3981 4 жыл бұрын
Thank you so much
@benbarraclough1989
@benbarraclough1989 5 жыл бұрын
good stuff :)
@archiekwon6256
@archiekwon6256 6 жыл бұрын
Thank you! :)
@dddhyun
@dddhyun 4 жыл бұрын
Thank you!!
@cryptosowle
@cryptosowle 4 жыл бұрын
4:17 15, not 16
@DonCristo297
@DonCristo297 4 жыл бұрын
Binary tree Data Structure
@akshaymalhotra597
@akshaymalhotra597 5 жыл бұрын
Lucid af!
@kerron68
@kerron68 6 жыл бұрын
Got it!
@Lone.Wolf101
@Lone.Wolf101 6 жыл бұрын
I like Merkle tree more...
@ParsiMusik
@ParsiMusik 6 жыл бұрын
Merkle Tree is not IOTA specific I suggest changing the name to blockchain basics
@Mobilefish
@Mobilefish 6 жыл бұрын
You are very sharp! I was thinking doing that, but I have decided to make it part of the IOTA tutorial series otherwise IOTA developers / interested parties are going to say "hey... IOTA has nothing to do with blockchain.." when referring a link to a blockchain tutorial. And the next tutorial 19 "Masked Authenticated Messaging" will nicely build upon tutorial 18.
@ParsiMusik
@ParsiMusik 6 жыл бұрын
Thanks, I really want to learn about IOTA functionalities :)
@omtulsi
@omtulsi 6 жыл бұрын
IOTA has a Miracle Tree :-) Mobilefish.com thank you for sharing all the tutorials, they are great
@wil8785
@wil8785 6 жыл бұрын
Merkle trees are not specfic to blockchains; authors choice, authors power, authors altruism.
IOTA tutorial 19: Masked Authenticated Messaging
31:55
Mobilefish.com
Рет қаралды 8 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Hash Tables and Hash Functions
13:56
Computer Science Lessons
Рет қаралды 1,6 МЛН
Merkle Tree with real world examples
14:52
Gaurav Sen
Рет қаралды 86 М.
Data corruption and Merkle trees
22:43
Tech Dummies Narendra L
Рет қаралды 27 М.
Merkle Trees & Patricia Tries for Blockchain - Explained
18:42
Crypto Catch Up
Рет қаралды 14 М.
What is the merkle tree in Bitcoin?
3:53
Keifer Kif
Рет қаралды 50 М.
Segment Trees Tutorial | Range Queries | Interview Questions
1:13:23
Kunal Kushwaha
Рет қаралды 58 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
Solidity: Merkle Trees, BitMaps & Coding an Airdrop
38:04
Jordan McKinney
Рет қаралды 3,8 М.
A better hash table (in C)
41:20
Jacob Sorber
Рет қаралды 32 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН