Ethernet Square and intelligence contracts

The core concept of the core concepts Ethernet Ethernet Square Square include: Intelligent Virtual Machine EVM contract and Solidity programming language, account model, Ethernet currency and Gas, trading and messaging.
1. The core concept of intelligent virtual machine EVM contract and Solidity programming language is first intelligent Ethernet Square contract.
Intelligent contract consists of two parts, one is the development language, based mainly in Solidity, Solidity and Javascript language is very close in use, which greatly reduces the cost of learning Dapp developers.
Dapp developers later write good code, Solidity compiled into byte hexadecimal code, then deploy to the EVM, which is the contract to broadcast the whole network, and other miners after the formation of a packed year-round operation of the Dapp.
Another part is the EVM. EVM is an intelligent Ethernet Square contract virtual machine, we can understand it as the equivalent Javascript, Python and other scripting language execution engine.
It is a lightweight virtual machine isolation environment, it does not provide access to the local network, functional processes, file systems, it is more like a closed container, the container which installed a running Dapp, it can be seen as You can not interact with the outside world and Docker Container.

 
Dapp during operation, can be requested or trigger other events, and then perform the appropriate logic, these requests are generated by transactions and events on Ethernet Square, the desktop operating system does not come from events.
Dapp process operation, each time the state changes, it means that the whole network synchronization update, our results are consistent, which has two characteristics:
1. All calculations Dapp of the whole network through consensus, once almost confirmed It can not be forged and tampered with; 2. Because the whole network must be consensus, so this limits the capacity of the entire network.
 

Guess you like

Origin blog.csdn.net/yss1019/article/details/90605785