php Ethernet Square development

http://xc.hubwiz.com/course/5b36629bc02e6b6a59171de3?affid=721csdn

EOS is Block.One developed a dominant male underlying chain block chain, which is specifically applied to the center of the commercial support (Decentralized Application) is designed, its open source code.
Bitcoin block chain is referred to as 1.0, because it opens up encrypted digital world currencies, out of the decisive step from 0 to 1.
Ethernet Square block chain is known as 2.0, because it provides a complete virtual Turing machine can run intelligent contracts, has brought endless possibilities.
The EOS 3.0 is called the block chain, and why? Word: performance.
EOS is the positioning of its home page the slogan:
English: The most powerful infrastructure for decentralized applications .
Chinese: The most powerful decentralized application infrastructure.
EOS expect to do an enhanced version of Ethernet Square, a high-throughput platform for smart contract.
While full-featured Ethernet Square, but subject to their design choices, a block rate of 15 seconds resulted in transaction throughput far short of large-scale practical level, only about 30 ~ 40TPS (transactions / second). The EOS chose different technical route, the goal is to reach one million TPS-- take into account the considerable Visa actual processing speed was 1700TPS, this goal is indeed very attractive.
EOS consensus mechanism
Bitcoin and Ethernet throughput Square reason why so low, it is subject to the envisaged scenarios and mechanisms for consensus on the scene selected - both of which assume that the system is running environment is fully credible, so they have using workload proof (proof of Work) that consensus mechanism.
Consensus, by definition, we reach a unified understanding of something - for the block chain, something refers to the confirmation of the transaction - any node to submit a transaction, we need to recognize.
PoW mechanism Bitcoin and Ethernet Square is currently used by the legendary Nakamoto design. In this mechanism, the miners in order to obtain billing and digital rights reward money, need to keep mining to find the hash value of compliance to confirm and package the transaction data through a common understanding of the hash value. PoW no barriers to entry, any node has an equal right to participate in bookkeeping - of course, the probability of winning with the forces associated count:

pow vs. dpos

EOS is assumed that the environment is not entirely implausible, so it uses proved commissioned interests (Delegated Proof of Stake) mechanism, similar to the familiar congress system - does not require that each node involved in the consensus reached, only those selected out of the node to reach a consensus on it. Since it is believed that these nodes, the EOS DPoS mechanism no longer need to solve puzzles to get the accounting right hash, which allows holders EOS currency can be selected as a representative of the 21 super-node through continuous voting system - a block node (block Producer), by the super node's turn confirmation and billing, and gives it some reward.
Apparently, so 21 nodes to reach a consensus, a consensus is certainly more than 10000 nodes to be more efficient.
EOS resource utilization mechanism of
us know, Bitcoin transaction fees and mechanisms in Ethernet Square, its purpose is to prevent a lot of spam makes trading system congestion.
The EOS-based incentives through the expansion of (additional 1% per year, total issuance of not more than 5%) completely abolished transaction fees, which reduces the cost of system also brings an inevitable question:
how to avoid system misuse of resources?
EOS designed a new resource use mechanisms: to allocate system resources based on the number of accounts through EOS certificate.
CPU and Bandwidth: mortgage / redemption
in the EOS model, CPU bandwidth using mortgage ways: CPU bandwidth allocated according to the proportion of mortgage EOS-pass card. For example, if you hold a full 1% of the net EOS pass card, it can be secured through these permits to obtain a full 1% of the CPU and network bandwidth. So that it can isolate all the DAPP, competition for resources and prevent malicious DDOS supply, no matter how congested the other DAPP your own bandwidth are not affected.
When you no longer need CPU bandwidth, mortgage EOS pass certificate can be redeemed, at the time of redemption, there is a three-day redemption period.
Memory: Buy / Sell
With different CPU and bandwidth, to data stored in the block chain, you need based on the current market price of RAM, buy RAM with the EOS-pass card, in order to obtain a certain number of bytes of storage. When you no longer need memory, you can also RAM memory to the current market price to sell EOS get through certificates:

EOS ram price

RAM prices are Banchory (Bancor) algorithm, that is to say by the market supply and demand regulation: if the RAM is in short supply, we need more EOS pass card when buying the RAM, and then sell can get more RAM more EOS pass card.
Memory consumption of resources is irredeemable, only the sale. Send money to the EOS example, the current issue coins need 20M of memory, a EOS buy 20KB, at current prices made a coin storage need to consume 1000 EOS. This is the EOS memory consumption just need sources.
Course Overview
This course is intended for EOS application development to the center of interest of a friend, the course covers the core concepts developed by EOS DApp, development and deployment as well as how the front page with the EOS block chain Interactive Intelligence contract and finalized based React and developing a complete Dapp of the EOS.
Chapter One: EOS enter the world
understand the location and characteristics of EOS, the consensus mechanism, pay calculation core concept model.
Chapter Two: Hi EOS
understand the overall framework EOS nodes and node server software, the wallet server role and command-line tools, and learn to configure, launch EOS node server and wallet server approach, a preliminary understanding to use command-line tools.
Chapter 3: wallet, keys and account
understanding three core concepts EOS associated with personal identity: wallet, keys and accounts, learn to create wallet, keys and accounts using the command line tool.
Chapter 4: Development and Interactive Intelligence contract
to understand the concept and role of intelligent contracts, learning to write and compile EOS intelligent contracts, learning to use the command-line tool to deploy and interact with the contract agreement.
Understand the persistence mechanism EOS intelligent contract status, learning to use a multi-index table to save the state contract.
Chapter V: issue their own tokens
learning principle and mechanism of issuing tokens on EOS, and by practice, learn how to use the command line tools issued tokens, transfers and balances to see such an operation.
Chapter 6: Using the code to interact with the smart contract
understand the application interacts with the EOS block chain principles, learn to use JSON RPC interfaces and eosjs package library to access EOS block chain.
Chapter VII: actual notes DApp develop
the integrated use of knowledge EOS, EOS notes using React to complete a decentralized application, learning the complete process from requirements analysis to code implementation.
I want to learn grip, course Address: EOS tutorial
also recommend several popular scarce interactive tutorials entire network:

web3j, mainly to explain the block chain Ethernet Square developed around web3j library for java and android programmer.

python Ethernet Square, mainly to explain the block chain Square Ethernet applications developed for python around web3.py.

php Ethernet Square, is to introduce the use of intelligent interaction php development contract, content account creation, transaction, transfer, development and tokens filters and events.

Ethernet Square development, is to introduce the use of node.js, mongodb, block chain, ipfs achieve decentralized electricity supplier DApp combat for advanced.

Ethernet Square tutorial introduces the intelligent application development contract with dapp for entry.

https://www.jianshu.com/p/92544806ae55

Released four original articles · won praise 0 · views 10000 +

Guess you like

Origin blog.csdn.net/tianyaopen/article/details/100727906