From the course: Building an Ethereum Blockchain App: 1 Introduction to Blockchain
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
What is a chain of blocks? - Ethereum Tutorial
From the course: Building an Ethereum Blockchain App: 1 Introduction to Blockchain
What is a chain of blocks?
- In the last episode, you learned about hashes and hashing functions. But you may wonder, what does a hash have to do with a blockchain? Well, actually, hashes make blockchains possible. A blockchain is a chain of blocks. You know, a block is a collection of transactions. But how are they linked together? They're linked together using the output of the hash function. The way it works is when you start a brand new blockchain, you actually start with one block, and it's called the Genesis block. The Genesis block isn't linked to anything because it's the only one there. Then you add the next block which, by the way, the Genesis block is block zero. In computer science, we start things at zero. We don't start counting at one. So the next block is actually block one. How do I make it a chain? What I do is I take the hash value of block zero, and I store that in block one. Now, in real blockchain, we're going to have…
Contents
-
-
-
(Locked)
The beginning of blockchain5m
-
(Locked)
Currency and cryptocurrency4m 49s
-
(Locked)
Why use the blockchain?5m 47s
-
(Locked)
Blockchain data and blocks6m 2s
-
(Locked)
Blockchain immutability2m 55s
-
(Locked)
Blockchain consensus2m 6s
-
(Locked)
Building the blockchain story3m 1s
-
(Locked)
Hashes6m 23s
-
(Locked)
What is a chain of blocks?3m 58s
-
(Locked)
Finding the nonce5m 16s
-
Blockchain mining3m 22s
-
(Locked)
Arriving at consensus5m 27s
-
(Locked)
Public vs. private blockchains3m 10s
-
(Locked)
Distributed processing and blockchain solutions5m 35s
-
(Locked)