Filecoin Protocol (Mining)

  • How does the Filecoin protocol work?

  • How do users use the Filecoin system to query and store data?

  • How do storage miners mine and get FIL tokens?

  • How do retrieval miners mine and get FIL tokens?

 

 

 

This article mainly answers these questions above! ! !

 

        First, the previous picture, the picture comes from a screenshot of the Filecon paper. This involves a lot of technology. If you don’t understand it, it doesn’t matter. Xiaobian will explain it to you slowly:

        The picture depicts the entire Filecoin protocol, the interaction between users and miners.

 

        

        As mentioned in the previous article, the IPFS protocol and the FIlecoin protocol together form the DSN (Decentralized Storage Network). So how do they work together?

 

Retrieval and storage of data between users and miners is in the form of orders.

 

The block data of the Filecoin protocol contains the following data:

  1. Order data: data data orders between users and miners

  2. Transaction: Transfer Transaction

  3. Configuration Table: Data Block Information

 

 

User Scenario:

  1. User submits a data storage order (PUT) to the Filecoin system

  2. User price increase data retrieval order (GET) to the Filecoin system

  3. If the above order is reached, the user pays FIL to obtain the corresponding service

 

Storage Miner Scenario:

  1. Register your own hard disk space on the blockchain. After the registration is completed, the hard disk space will be recorded in the configuration table of the blockchain

  2. Accept orders, store orders submitted by users (PUT)

  3. After the order transaction is completed, both parties sign the transaction, miners complete the data storage, and the transaction is recorded in the nearest block after the transaction is completed.

  4. The user obtains the corresponding payment

 

Retrieving the miner scene:

  1. Accept the order, the user submits the data query order (GET)

  2. After the transaction is reached, both parties sign the transaction, the miner sends the data to the user, and the transaction is submitted to the block

 

These are far from enough to explain the entire Filecoin protocol, but the editor is too sleepy today, and my thinking is not very neat. This article is a bit short, so I apologize in advance! !

 

The author flies to the future and is committed to the technical promotion of IPFS/Filecoin in China. His WeChat public account and community are currently the most active and top IPFS community in China. The author Feixiang Future is a special guest of Yuanfangyuan Blockchain, and all reprints have been authorized by Feixiang Future.

 

More official accounts for future mentors can be found in the IPFS Guide Official Account.

 

round chain ring

 


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325426257&siteId=291194637