Block Chain Academy (6): Ethernet Workshop production network/test network/private network

Source: Internet
Author: User
Block Chain Academy (6): Ethernet Workshop production network/test network/private network to understand the etheric square Privatenetwork first understand the two official networks of the etheric square

At present, there are two networks of network production Environment Network test network testnet by Ether Square.

The following will be a brief explanation of the two network Ethernet production Network

The production network of Ethernet square, as its name suggests, is the network that produces really valuable etheric coins. At present, production network has generated more than 3 million of the blocks, but also in the continuous generation. Dug up the mine to dig out of each in the NT $10. The condition of the etheric square in the production environment is so (screenshot from 2017-02-17)

The advantages of the production environment Network are global, the code of the intelligent contract, the execution, the call of the block can be viewed clearly in the Internet environment. Smart contracts deployed in a production environment can be invoked by any application in the World : Any contract execution consumes the real etheric currency, which is real cash. Not suitable for development, commissioning, and testing, all nodes are global, slow and require only a subset of nodes for some business applications, such as 10-20 servers for distributed deployments. Without the need for networks all over the world. Ethernet Square test Network testnet

Ethernet Test Network is also provided by the official, as the name implies that the user to develop, debug and test. The above contract execution does not consume the real etheric currency. Which means no money.

So if you develop a simple smart contract, you can use a test network, and users will be able to focus more on the development of smart contracts.

But because the network is provided by the official, therefore to the Ethernet square technology's bottom realization, the Geth various parameter interfaces, the entire Ether square's technical real performance understanding will be much weaker. So from the perspective of development, a better choice is private network, from the bottom of the technology to in-depth understanding of the etheric square. test Environment Network benefits The contract implementation does not consume the real currency globalization, the Intelligent Contract code, the execution, the block invocation, which is deployed on the Internet environment, can be clearly viewed. Smart contracts deployed in a test environment can be invoked by any application worldwide : All nodes are global, and slower test networks cannot be used as the actual landing environment for commercial applications private network Privatenetwork

The private network of Ethernet, as the name implies, is a private network created by the user himself through Geth, which is a very suitable network for developing, debugging and testing. To facilitate developers to understand the technical bottom of the etheric square because the node is relatively small, faster users can be created at any time, to destroy, At any time, rebuild an Ethernet square network arbitrarily increase the number of nodes, or delete nodes, can be established on the server, or on their own windows or Mac machines, or even a machine can build multiple nodes, on a single machine to implement a multiple-node private network. Disadvantages because it is not global, only the nodes within the private network can view the execution, invocation, etc. of the intelligent contract. the next chapter explains: The actual combat builds the private network.
Original address: http://www.ethchinese.com/?p=640

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.