Академический Документы
Профессиональный Документы
Культура Документы
&
Business Application
Lecture :
Proof of Work
Mining
The amount of the reward halves every 210,000 blocks = 4 years The amount is
expected to hit zero around 2140.
0000000000000000172EC00000000000000000000000000000000000
00000000 (hexadecimal)
– Any valid hash: below this value
– 1 on 267, huge number!
• Difficulty changes in every 2016 blocks
– 1 block in 10 mins; 2016 blocks: 2 weeks!
next_difficulty = (previous_difficulty * 2016 * 10 minutes) / (time to mine
last 2016 blocks)
• Profitable?
• Altcoins?
• Cryptocurrency:
– You believe that tomorrow too people believe
that you believe that… Circular!
Ethereum
Ethereum & Smart Contracts
• Bitcoin: “Turing-incomplete”
• More apps
• Instead of a new altcoin for each app
• Why not make a Turing-complete coin?
• Ethereum: Provides TC programming language
• This contract is
– written in bytecode
– executed by a special Ethereum‐specific virtual machine: EVM