From the course: Building an Ethereum Blockchain App: 1 Introduction to Blockchain
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Finding the nonce - Ethereum Tutorial
From the course: Building an Ethereum Blockchain App: 1 Introduction to Blockchain
Finding the nonce
- You may be noticing what seems to be a little bit of a problem. If creating a hash or calculating a hash is so easy, then how can you use a hash to make spoofing hard? Because if anybody can calculate hashes, then wouldn't spoofing a block and creating a spoofed hash be easy? Well, yeah, it would be. However, what if we introduce another layer? In other words, we introduce a new value and we tack that along or onto the actual block data such that we have certain requirements as to what the output looks like. What we need to do is introduce something new. So in blockchain, what we do is we add a new number and we add that to the data. So that with this new number plus the block data, we create a new hash value. But then, we're going to add rules onto that new hash value such that it has to meet certain criteria and we call that the complexity requirement. So what does the complexity requirement really mean? Well, in…
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)