官术网_书友最值得收藏!

Introducing the Ethereum Virtual Machine

The Ethereum Virtual Machine (EVM) is a virtual machine that allows code to be executed with limitations regarding gas costs and price, where each individual interacting with it must pay a fee to protect the network from spamming attacks, so that many decentralized nodes can interact with each other using the same software. It processes bytecode that gets generated with assembly code, which, in turn, uses instruction called operational codes (opcodes). It's a Turing complete computer.

When I say Turing complete, I mean that the smart contract programming languages running on top of Ethereum have the following properties:

  • They have unlimited access to random access memory (RAM)
  • They can make decisions based on the information available in memory
  • They can run forever with the help of while, for, and recursive loops
  • They can use functions

What this means, is that smart contracts are capable of executing any operation that you give them, given enough time and resources. This is important to understand to avoid confusions when someone says that Ethereum is a Turing complete blockchain.

主站蜘蛛池模板: 江山市| 清徐县| 呼图壁县| 太原市| 元谋县| 巴彦淖尔市| 滦南县| 兰溪市| 林州市| 榕江县| 榆中县| 陆丰市| 阳江市| 通山县| 阆中市| 阳朔县| 武鸣县| 濮阳县| 微山县| 霍林郭勒市| 临邑县| 江西省| 揭西县| 贵溪市| 白城市| 霞浦县| 鹤峰县| 忻州市| 乐东| 琼结县| 青神县| 曲沃县| 镇远县| 赣榆县| 萨嘎县| 东港市| 耒阳市| 景东| 连江县| 沙雅县| 凤城市|