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

  • Mastering Ethereum
  • Merunas Grincalaitis
  • 180字
  • 2021-06-24 15:01:01

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.

主站蜘蛛池模板: 耒阳市| 灵宝市| 邵阳县| 陇南市| 公安县| 侯马市| 蒙山县| 慈溪市| 太康县| 潍坊市| 广宗县| 安福县| 青龙| 沁阳市| 和田市| 阳信县| 新乡市| 文水县| 荥阳市| 犍为县| 商南县| 新竹县| 嘉义县| 西乌珠穆沁旗| 陇南市| 安泽县| 泰兴市| 舒城县| 漳浦县| 宁德市| 大邑县| 辽阳县| 忻州市| 尼玛县| 大理市| 陆河县| 花垣县| 濮阳县| 延寿县| 乌鲁木齐县| 乾安县|