Introduction
Hello All steemit friends. I am @colonier. I have read the lecture nicely for more than two/three time and now after getting the points, i am going to start my homework task about Root Hash and Markle tree for professor @pelon53.
Questions no:-1
Hash Rate
Hash rate is a unit that use calculate computational power that is proper utilised to mine and do the processing of transactions.In the crypto ecosystem, hash charge are the parameters that gauge the giving out brawn of computers second-hand in resolving hash role algorithms in other to means transactions. Resolving the phobia hash algorithm requires the depletion of high-powered computers to facilitate cleansing doling out of transactions, this route is identified as Mining. The hash charge of a organization is calculated by identifying the amount of hashes it canister estimate for each second, with the found company of h/s. For instance, a notebook with a hash rank of 1 Mega hash apiece second channel that the mainframe be capable of analyze 1 million hashes for each second 1 Mh/s = 1,000,000 h/s.
Question 2
Make the following Merkle Tree: Transaction (tree leaves): Steem1; Steem2; Steem3; Steem4; Steem5; Steem6; Steem7; Steem8.
https://passwordsgenerator.net/sha256-hash-generator/
To make the Merkle tree, first generate the tree leaves hashes.
Tree leaves Hash
Steem1
Hash
7760E25BCB80ADF1DD92DB339BF5790A59E90CD54EFA072F1250DCE13FA97045
Steem2
Hash
FE00506E91CF52BC4B35321E6B978D1A7349397B19C6C1C01E095971FDEC9741
Steem3
Hash
A9418332E0C351D6A50C835AA9E57D514F0573C231D491E97726DB8A5844F2DC
Steem4
Hash
22F4EC8E20C9CCAF2C313B23F18981B1C73BF39081BCD739E5D998A95A46AB30
Steem5
Hash
2A3C87336683AB0DDFA56AFEFC740E6C13A02FEA0A43D6797343B26D7AF0C57B
Steem6
Hash
A7BAA6DE0C0658E9E3681966E542BACD116529F5AE9A2D9126CDB1C1D5BC1278
Steem7
Hash
D441688DDA7F9285E8811728DD9A3955CF74F0A3C7600C1589D0F1D3B48FFAC7
Steem8
Hash
F2E38ED4FF662087B6E9BEAFA4158EBC488B995732057BDA019A6A77FFB5F9F5
The next step in the Merkle trees is generating the branches.
Tree Branches hash
Steem1Steem2
Hash
A5568957014F6AC3866923C7DE20D375E706B8D8C9F453636E90B9965ABEC62B
Steem3Steem4
Hash
18D25196DB699F6AB9222B7302EB8A6F6EBFADEC703C07DD5DB8D9455913A499
Steem5Steem6
Hash
D118E137F92A0DBEA138B6BF70C7714153A7BC393CD0272A44BD94864645224B
Steem7Steem8
Hash
A81D57BA11AEDFA9EFBBA42F6523D75D1EFA50B22C5E3557A21CEFFE87DDFC4A
The next step in the Merkle trees is generating the second-level branches hash.
Second Level Tree Branches hash
Steem1Steem2Steem3Steem4
Hash
8A248C05E69C4F1AA403AD18A7F445FF500C42483DA425CE0C980CDB2FD1AD9B
Steem5Steem6Steem7Steem8
Hash
8B0935AEAB3F51BFA2B0750703EE2387E2B20EB19B0D24227E180C03A851AF17
The next step in the Merkle trees is generating a Root hash.
Root hash
Steem1Steem2Steem3Steem4Steem5Steem6Steem7Steem8
Hash
9C2FC83F36D59B8ED5033D2BCC417728583C8DAA0AA9868FD374BE3619D6E4F9
The next step is creating the tree of the inputs and hashes
Merkle Tree
Steps to Verify if Steem6 is included in the root hash
Firstly, generate the hash of the leaf on one side, that is Steem5
2A3C87336683AB0DDFA56AFEFC740E6C13A02FEA0A43D6797343B26D7AF0C57B
Next generate the parent hash of Steem5 and Steem6
D118E137F92A0DBEA138B6BF70C7714153A7BC393CD0272A44BD94864645224B
Next, generate the parent hash ofSteem1Steem2Steem3Steem4
8A248C05E69C4F1AA403AD18A7F445FF500C42483DA425CE0C980CDB2FD1AD9B
Now join this with its counterpart which is Steem5Steem6 and Steem7Steem8 to generate the root hash
8B0935AEAB3F51BFA2B0750703EE2387E2B20EB19B0D24227E180C03A851AF17
If the root hash is dissimilar from this then it will be wrong
Question 3
https://passwordsgenerator.net/sha256-hash-generator/you must place each complete hash in the Merkle Tree.Transaction (tree leaves): SCA1; SCA2; SCA3; SCA4; SCA5; SCA6; SCA7; SCA8. Explain each step
To make the Merkle tree, first generate the tree leaves hashes.
Tree leaves Hash
SCA1
Hash
13E0A04BB0E669E1C638DBE3A704743F99F162B25245E4D8C064D35BA38FA8C8
SCA2
*Hash
27849353A9C8CC4E948EB6E5748EDD79CB83513D8C0ADAF3E8C83D3792C9149B
SCA3
Hash
67E872F952C105C35E0BCE130536D061F4999DCA5593754BA9BA7BE59B8E7C0D
SCA4
Hash
491928A32BAE70A12FA251412BBFD7C9999F317BA6BF577C283C724225270A43
SCA5
Hash
99C078C39CDE7F47799E0E8691460A9F3E83E78D498EA989308FCFCC58907B19
SCA6
Hash
7A648D887B124DB14E96E23BA92783E7F26D00957C19B9B8229632C2C1873729
SCA7
Hash
7E0BBD6BA4BA9896F9911AF46B06DD2C47535F9C80B29D693FDF6B9319D0D68E
SCA8
Hash
562ABCEEB497E1FE7AE275A883FD5EF9D92A05F5C19D82ABAA0DC1571B7DF3AD
The next step in the Merkle trees is generating the branches.
Tree Branches hash
SCA1SCA2
Hash
91B09BBA815748166FB36413342C7E4E7E809F4BAC538C0418841A4476B527EF
SCA3SCA4
Hash
B49B48697A3ACBC5E3D2E36B6EE49C44020D88E664C5C1AA7A7CF34058177379
SCA5SCA6
Hash
F026924CD1285FF92C2A2DE9B9313027EB67273A82375C939348C887F6B52F77
SCA7SCA8
Hash
AA55EC5A6B11393B289C4B2B6916172ACC2941C5C978FB1D7BF02696BAB323A4
The next step in the Merkle trees is generating the second-level branches hash.
Second Level Tree Branches hash
SCA1SCA2SCA3SCA4
Hash
F50DC120CBF6C46923037F6D7F41D4153ECC9AB7430DDA662C142DB1FFE483F7
SCA5SCA6SCA7SCA8
Hash
A3D8CA8494CC426ABD5E1FC5FA0FEAE4F2B2ECE4C4CECDCA05E19EB66542533F
The next step in the Merkle trees is generating a Root hash.
Root hash
SCA1SCA2SCA3SCA4SCA5SCA6SCA7SCA8
Hash
CB40CA6DB72DD507CF9118963F94B7740822258E74AFB0FD45D89DB35D24B386
The next step is creating the tree of the inputs and hashes
Markle tree
If the number of leaves on the tree is odd, what should you do? Explain.
Had the number of leaves on the Merkel Tree is odd we won't be able to counted the root hash because it make in a way to be counted in even numbers. So in a issues as such the last leaf should be dout in other to do a major hash to add other branches.
The tree up get 7 leaves, so we should be Suspicion the ends leaf by creating other SCA7 which is then merged with SCA7 to get SCA7SCA7 as its major hash and from there we can proceed to the high level branches and then root hash.
Conclusion
The making of the Markle hierarchy occupies a underlying position in the globe of cryptocurrencies, only if an weighty grade of scalability in blockchain since it is a enormously not wasteful technique to endorse facts and manner in rank in an bright and summarized way, as perfectly as it in addition helps to expose any alteration in them.The elevated the Hash rate, the superior the equal of self-confidence that the blockchain has, but the energy expenditure to abundance assumed cryptocurrency will and be higher.
Gracias por participar en Steemit Crypto Academy Season 3:
Espero seguir leyendo tus publicaciones.
Pregunta 1, su investigación ue muy superficial.
Pregunta 2, todos los hash coinciden. Pero la verifiación de Steem6 no es la correcta.
Pregunta 3, todos los hash coinciden. Explicó cuando un árbol tiene hojas impares.
Recomendaciones:
Es necesario justficar el texto.
Las gráficas pueden mejorar la apariencia.
Calificación: 6.3
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit