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

  • 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.

主站蜘蛛池模板: 宜宾县| 都兰县| 房山区| 通州市| 安龙县| 玛曲县| 绥宁县| 大庆市| 中阳县| 罗甸县| 恩施市| 嘉善县| 南靖县| 晋江市| 林西县| 兴宁市| 辰溪县| 肇源县| 乐亭县| 嵩明县| 玛多县| 岚皋县| 洪江市| 张掖市| 昭通市| 金沙县| 道孚县| 应城市| 昌吉市| 监利县| 大港区| 尉氏县| 玛沁县| 文昌市| 浦东新区| 阿城市| 连云港市| 客服| 黄骅市| 湘潭市| 开鲁县|