Position: Home page » Ethereum » Ethereum P2P framework

Ethereum P2P framework

Publish: 2021-05-27 06:38:50
1. Ethereum is a new and open blockchain platform, which allows anyone to build and use decentralized applications running through blockchain technology in the platform
just like bitcoin, Ethereum is neither controlled nor owned by anyone - it is an open source project created by many people around the world. Different from bitcoin protocol, Ethereum's design is very flexible and adaptable. It is very easy to create new applications on the Ethereum platform. With the release of homestead, anyone can use the applications on this platform safely
Ethereum is a programmable blockchain. It does not give users a series of preset operations, but allows users to create complex operations according to their own wishes. In this way, it can be used as a platform for many types of decentralized blockchain applications
in a narrow sense, Ethereum refers to a series of protocols that define a decentralized application platform. The core of Ethereum is Ethereum virtual machine (EVM), which can encode any complex algorithm. In computer science terminology, Ethereum is "Turing complete.". Developers can use the existing JavaScript and python as the model of other friendly programming languages to create applications running on the Ethereum simulator.
2. Based on the core idea of bitcoin network, Ethereum project puts forward many innovative technical concepts, including smart contract, account based transaction, Ethereum and fuel.
3.

At present, there are many channels for domestic users to buy Ethereum. Here are some common channels:

< H2 > 1. Coincola is an over-the-counter trading platform for indivials to trade bitcoin

coy Cola is affiliated to Hong Kong coincola limited, which is developed and operated by a professional international team, focusing on providing convenient and reliable blockchain services for global users. Coincola gathers global users and is committed to building a world-class blockchain asset platform

in coy cola, people from different countries can buy bitcoin with their own currency. The seller of the website publishes the advertisement of selling bitcoin, and explains the payment method and exchange rate. You can choose to trade directly online according to the content of the advertisement. Bitcoin is stored in Ke Ying Cola's Internet wallet. You can transfer bitcoin directly

2. How to buy eth

< UL >
  • register the coincola account, and then click "buy" in the top menu of the home page to enter the advertisement list page

  • select the appropriate advertisement from the advertisement list and click "buy eth" to enter the transaction page

  • enter the amount of money to be purchased or the number of digital currency (please understand the message information of the other party, payment method, and transaction instructions of the platform before entering), click buy now, and the order confirmation pop up. After checking and confirming the information, click confirm purchase to enter the order page

  • in the chat box of the platform, you can inquire whether the other party is online according to the template statement, and make offline payment according to the collection information and collection method provided by the other party

  • after the completion of offline payment, click the mark that the payment has been completed at the first time (please complete this operation within 15 minutes at the beginning of placing an order, so as to avoid the payment cannot be recovered e to the cancellation of the order e to overtime), and then customize the input information in the chat box to confirm the payment and ask the seller to confirm the collection and release the digital currency

  • the progress bar in the top column shows that the goods have been received, indicating that the digital currency has arrived in the wallet. Make comments according to the seller's behavior, and click submit to complete the transaction

  • < / UL > < H2 > 2. C2C trading on trading platform

    with the rapid increase in the number of trading platforms and competitive pressure, many trading platforms will have their own C2C trading. Here we take the relatively large ZB trading platform as an example to illustrate

    What is C2C

    C2C transaction is a customer to customer transaction, which is guaranteed by the transaction platform. There are many such platforms, such as: Fire coin, otcbtc, bitpai OTC, etc., which are guaranteed by the platform and traded between users. We can simply understand it as: our shopping situation on Taobao is the same as that. In case of dispute, the platform will arbitrate. As long as the transaction is carried out according to the normal process, the security of the transaction is guaranteed

    2. ZB's C2C business

    ZB platform has two choices: QC and usdt. The basic logic is the same. There are many usdt platforms. QC is the feature of ZB, EXX and other platforms. Here we focus on QC

    < H2 > about QC

    QC is a token. At present, you may know more about usdt and bitcny. At present, there is a special area for QC transaction on ZB. Simply put, QC can buy all other digital currencies (BTC, ETH, EOS, etc.) on ZB. Therefore, after purchasing QC with RMB recharge, you can conct currency transaction on ZB station

    The advantage of the < H2 > QC token is that the exchange ratio between the < H2 > < UL >
  • and RMB is 1:1, which is easier to convert

  • purchasing other tokens with QC can be directly understood as purchasing RMB, and has an intuitive understanding of the currency price

  • it takes about half an hour to get to the account. It will take about two hours to get to the account in congestion

  • ZB platform is relatively reliable, and the reputation of ZB is still very good in the past

    How to operate C2C of ZB

    < UL >
  • log in to ZB trading platform and click "C2C trading" on the page

  • to get to the QC transaction page, you need to first bind your bank card. Then, in the buy QC interface, enter the quantity of QC you want to buy. At present, the ratio of QC to RMB is 1:1. Enter the purchase quantity and click "buy now"

  • after clicking "buy now", you will be prompted to complete the payment within 30 minutes. At the same time, payment information is generated. Please note that the payment must be made according to the prompt

  • < / UL > < H2 > official statement:

    business processing time 9:00-21:00. Non processing time orders will be processed at 9:00 the next day, and the payment will be completed within 24 hours after receiving the order

    this means that the merchant you paid will transfer QC coin to your account within 24 hours. According to my experience, you can get to the account in 2 hours ring the day

    < H2 > the following points should be paid attention to:

    1) make sure to use the newly bound bank card for transfer and payment

    2) note information (that 6 digit) must fill in

    3) do not use Alipay, WeChat and other transfers. p>

    4) do not fill in the opposite account incorrectly

    < UL >
  • about 1-2 hours, you can check whether your QC has arrived in the financial center

  • after the account is received, you can trade in the "QC" zone of the "spot trading". You can choose the transaction you want to buy and buy the order

  • 4. At the top of Ethereum is DAPP. It exchanges with the smart contract layer through Web3. JS. All smart contracts run on EVM (Ethereum virtual machine) and use RPC calls. Below EVM and RPC are the four core contents of Ethereum, including: blockchain, consensus algorithm, mining and network layer. Except DAPP, all other parts are in the Ethereum client. The most popular Ethereum client is geth (go Ethereum)
    5.

    Ethereum is an implementation of blockchain. In Ethereum network, many nodes are connected with each other to form Ethereum network:

    Ethereum node software provides two core functions: data storage and contract code execution

    in each Ethereum node, complete blockchain data is stored. Ethereum not only saves the transaction data on the chain, but also saves the compiled contract code on the chain

    At the same time, a virtual machine is provided to execute the contract code

    Ethereum virtual machine

    Ethereum blockchain not only stores data and code, but also contains a virtual machine (EVM) in each node to execute contract code - it sounds like a computer operating system

    in fact, this is the core difference between Ethereum and bitcoin: the existence of virtual machine has brought blockchain into the era of 2.0 and made blockchain a friendly platform for application developers for the first time

    the above content comes from the introction course of Ethereum DAPP development

    6. Ethereum is not a kind of currency, but a decentralized intelligent protocol. It can be understood as a huge global account book. The logic of this intelligent protocol does not need a specific server to support its daily operation. Instead, it is the protocol terms given by the executors before entering among the scattered users. This is an application evolved from decentralization
    compared with bitcoin, we can find that Ethereum is more difficult to develop a new encryption technology than bitcoin. This breakthrough has greatly reced the development cost and time for developers who apply blockchain technology. The emergence of Ethereum once again reiterated the need to split the center, as well as the feasibility and advantages of decentralized distributed applications, to the existing economic market, the financial sector a new direction of development and throw to the society a new entrepreneurial ideas and opportunities.
    7. China currency is a global digital currency exchange. At present, China currency has obtained the exchange licenses of Thailand and Du, and has set up operation centers in Switzerland, Canada, the United States, Bangkok, Du and other places. Some investors are short of platforms like China currency
    8. Now it's March 2021. I'll answer you. What are bitcoin and Ethereum? These two are the virtual money that grabs money and the new things that drive the nationwide mining tide. Bitcoin is now 1 = 350000 RMB. In this way, Ethereum is 1 = 11000 RMB, and its value is rising. I regret that I just heard about bitcoin when I was studying in 2008, but it's only 20 yuan, I didn't buy a 200 yuan plug-in. Now it's worth millions of money with me.
    9. I plan to start a series to talk about architecture. My previous experience is mainly in the area of Internet architecture. Recently, I am sorting out and analyzing the architecture of bitcoin, Ethereum and EOS, so I am going to write a series of articles to talk about the understanding of Internet architecture and blockchain architecture. It will be divided into four articles: 1. Internet proct architecture, 2. Bitcoin architecture analysis, 3. Ethereum architecture analysis, 4. EOS architecture analysis
    there is no central server in Ethereum. Instead, there are many equal nodes connected by P2P protocol, which store all the data in many nodes. When a user initiates a transaction, the transaction will be broadcast out through P2P protocol. The miner node verifies, packages and further broadcasts the transaction to the whole network. After confirmation in the blockchain, the operation is considered to be unchangeable
    in the articles on blockchain on the Internet, the two words distributed and decentralized are mentioned, sometimes slightly different, sometimes mixed. The author thinks that if we want to distinguish accurately, the distributed system emphasizes that multiple components work together by sending messages, and the decentralized system emphasizes that there is no central node to control the operation of the whole system. Therefore, we think that Ethereum is both decentralized and distributed, or running a decentralized program on a distributed platform.
    10. The current mainstream blockchain architecture includes six layers: network layer, data layer, consensus layer, incentive layer, contract layer and application layer. The positions of data layer and network layer are exchanged in the figure, and the main uses will be described in the next section
    network layer: blockchain network is essentially a P2P (peer-to-peer) network. The resources and services in the network are distributed on all nodes, and the information transmission and service implementation are directly carried out between nodes, without the intervention of intermediate links and servers. Each node not only receives information, but also generates information. Nodes synchronize information by maintaining a common blockchain. When a node creates a new block, it notifies other nodes in the form of broadcast. After receiving the information, other nodes verify the block and create a new block on the basis of the block, So as to achieve the role of the whole network to jointly maintain a bottom ledger. Therefore, the network layer will involve the design of P2P network, propagation mechanism and verification mechanism. Obviously, these designs can affect the confirmation speed of block information. The network layer can be used as a research direction in the scalable scheme of blockchain technology
    data layer: the underlying data of blockchain is a data structure of block + linked list, which includes data block, chain structure, timestamp, hash function, Merkle tree, asymmetric encryption, etc. Among them, data block and chain structure can be used as the improvement direction of data layer research in the extensible scheme of blockchain technology
    consensus layer: it is the basis for highly dispersed nodes to reach a fast consensus on the effectiveness of block data. The main consensus mechanisms include pow (proof of work), POS (proof of stake), dpos (delegated proof of stake) and pbft (Practical Byzantine fault tolerance), They have always been the highlight of the scalable solution of blockchain technology
    incentive layer: it is a common mining mechanism, which is used to design certain economic incentive model and encourage nodes to participate in the security verification of blockchain, including the design of issuance mechanism and allocation mechanism. Improvements at this level do not seem to be directly related to blockchain scalability
    Contract layer: mainly refers to various script codes, algorithm mechanisms and smart contracts. Strictly speaking, this layer of the first generation blockchain is missing, so they can only trade, and can not be used in other fields or other logical processing. The emergence of the contract layer makes it a reality to use blockchain in other fields. This part of Ethereum includes EVM (Ethereum virtual machine) and smart contract. The improvement of this level seems to provide a potential new direction for the scalability of the blockchain, but it does not seem to be directly related to the application layer in terms of structure
    it is the display layer of the blockchain, including various application scenarios and cases. For example, Ethereum uses truffle and Web3 JS. The application layer of blockchain can be mobile terminal, Web terminal, or integrated into the existing server, taking the current business server as the application layer. The improvement of this level also seems to provide a potential new direction for the expansion of blockchain, but structurally, it doesn't seem to be directly related
    the Xueshuo innovation blockchain Technology Workstation of Lianqiao ecation online is the only approved "blockchain Technology Specialty" pilot workstation of "smart learning workshop 2020 Xueshuo innovation workstation" launched by the school planning, construction and development center of the Ministry of ecation of China. Based on providing diversified growth paths for students, the professional station promotes the reform of the training mode of the combination of professional degree research, proction, learning and research, and constructs the applied and compound talent training system.
    Hot content
    Inn digger Publish: 2021-05-29 20:04:36 Views: 341
    Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
    Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
    Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
    Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
    Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
    Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
    Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
    Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
    Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750