Risk Warning: Beware of illegal fundraising in the name of 'virtual currency' and 'blockchain'. — Five departments including the Banking and Insurance Regulatory Commission
Information
Discover
Search
Login
简中
繁中
English
日本語
한국어
ภาษาไทย
Tiếng Việt
BTC
ETH
HTX
SOL
BNB
View Market
From point to surface, in-depth understanding of Filecoin
麦子钱包
特邀专栏作者
2020-07-20 06:11
This article is about 6367 words, reading the full article takes about 10 minutes
At 7:00 p.m. on April 29th, Math Wallet held the second phase of the Math Show. We were honored to invite Andy, the co-founder of 1475, a well-known mining machine manufacturer in the Filecoin mining field, and Eric, the co-founder and CTO of our Math Wa

Andy:

Hi everyone, I'm Andy, the co-founder of 1475. Our 1475 was established in May 2018, and our full name is Tianru Technology. During the testnet period, we helped the official to fix some bugs and upgraded to a stable version. Finally, the official found this node in the community. Then, during the entire testnet period, we always maintained the first place in computing power and block generation. Slowly More people will know us.

Eric:

Hello everyone, I am Eric, CTO of MathWallet. Math Wallet is "probably" the wallet that currently supports the most public chains. We currently support more than 40 public chains, including Filecoin's wallet support is also under development.

I participated in the DevCON2 organized by Ethereum in Shanghai in 2016, and I learned about IPFS for the first time. At that time, the Swarm distributed storage protocol of Ethereum was also quite popular. It is also because of this that I became interested in the blockchain and joined this industry.

The reason why Math Wallet was built was that every time a new public chain was launched, a separate wallet needed to be downloaded. I wanted to ask whether it was possible to build a multi-chain wallet with a unified user experience and integrate the interactive operations of these public chains.

host:

host:

As a relatively old IPFS media person in the industry, I have a very deep feeling this year that the Filecoin track is very hot, which is much higher than last year. Why is it so hot this year? Why is the Filecoin track so worthy of our attention?

Andy:

Anyone who has experienced it for 17 years should know Filecoin. Its vision is to truly realize the commercial application of underlying distributed storage, and it has completed a financing of 257 million US dollars in a very short period of time. This wave of Bitcoin halving is a big consensus and expectation. Coupled with the launch of top application projects like Filecoin, the second half of the year may really bring a wave of better market and opportunities.

Eric:

We now use the beginning of http:// to access the website, which is the HTTP protocol, and the IPFS protocol access is through ipfs://, which can also access various resources on the network, and because of its distributed characteristics, plus FIlecoin Provided incentive layer, its access will be more stable, fault-tolerant and privacy-preserving.

In the general direction, IPFS is likely to replace the HTTP protocol, which is the idea thrown out in the American drama "Silicon Valley", a P2P network world, no big companies, flat ecology, everyone's idle storage space can be rented out to used by others.

In the past few years, there have been many reflections on the current Internet. Will the current trends and status of the Internet help to promote the progress of technology and human civilization? What we see is that the ecology of consumer Internet giants is becoming more and more closed.

I have been using Evernote’s WeChat plug-in to save good articles that I think are good for later retrieval, but recently WeChat has also stopped this third-party interface, and you are only allowed to share it with products within the Tencent ecosystem.

host:

host:

What are the characteristics of Filecoin mining compared with other projects?

Andy:

Let’s first compare the difference between Filecoin and Bitcoin mining. Everyone should know that Bitcoin mining is based on the POW consensus mechanism. It is equivalent to doing a calculation problem. When your computing power is stronger, your calculation The more times, the greater the probability that you will finally answer this question correctly, that is, the higher the probability of packing blocks.

Filecoin is a mining based on storage, but it is different from POC. POC is equivalent to hard disk mining. When your hard disk capacity is larger, you fill some data, which is the so-called P disk. The capacity of your hard disk The bigger it is, the higher the probability that you can mine; but the concept of Filecoin is called effective storage, and only when the data you store is verified by the network can it be called effective storage. The more effective storage you have, the higher the probability of final block generation.

From another perspective, most of the mining is actually based on consensus mining, and those who ultimately pay the bill are those who have faith in the currency, while Filecoin mining is based on commercial value, and its core is effective Storage, or storage verified by the network, the more storage there is, the higher the block generation rate will be. Being verified and stored by the network means that you actually save things for others, which realizes its commercial value, so its mining not only has a consensus component, but also a commercial value component. From a certain dimension, it actually has greater business logic than other mining projects, and forms a better closed business loop.

Eric:

host:

host:

I know that Andy's team started researching Filecoin mining in May 2018, and it has been almost two years now. Can you share some recent progress in Filecoin development and testing with our Math Show friends?

Andy:

The second phase of the testnet is scheduled for the week of May 11th, and the mainnet launch time will be from July 21st to August 20th, which is the window period for the mainnet launch. If it is stable, it will enter the code audit, and then choose an appropriate time point to launch the mainnet later.

As for whether there will be rewards for the second phase of the testnet, the official also made it clear that only more than 1 million Filecoins will be used as rewards. If the current June futures are nearly 50 yuan, it is equivalent to taking 50 million yuan as rewards for the testnet , this amount is still relatively large in the entire blockchain industry. If the currency price will rise in the future, it may exceed 100 million.

Of course, following the rewards of the second phase of the testnet, part of the rewards are given to big miners, because the official made a 5PB big miner node plan, and we have also participated in the design of some of the plans.

The 5PB here refers to the effective computing power, that is to say, the real verified storage reaches 5PB, not the hard disk capacity of 5PB. It is estimated that not many companies in the industry can really achieve it, which means that they can enter the 5PB big miner test. It is the leading company in the industry. So what is the purpose of this 5PB large miner test? Because the official has actually done some verification at the logic and code level before, but has not done a comprehensive stress test. From a technical point of view, in an environment where you have not reached the volume or stress test, you will find that Not some new bugs.

Including some new problems that have been discovered recently. When your effective storage is getting bigger and bigger, or your power is getting bigger and bigger, every time you make a block calculation, your calculation amount will be very large, and you will eventually encounter a bottleneck , so the test of the entire 5PB large miners will also play a key role in the entire Filecoin project, and it is also a way of escorting.

There is also an economic model that is closely related to everyone, and the framework of the economic model was also released last week. At present, it is framed, and it can determine the value of the final economic model by adjusting parameters. Filecoin's economic model will be much more complicated than that of other projects, because it is not just a matter of transfer, it involves real business applications (storage), so for mortgages, rewards, penalties, or release mechanisms, it All have established a complete set of model architecture.

host:

host:

Just now Andy shared with us the origin of the number 1475. It is known because some official bugs were found in the test network. Will you use the number 1475 in every test?

Andy:

First of all, this is an accident, because during the entire Filecoin test network, he used a method called lotus, in which you need to apply for a miner number every time you access the test network , we just randomly get this number.

Later, we helped the official to fix some bugs, and made some upgrades and optimizations in the community, so the official said in the community that they want to find the 1475 node and want to know who is behind this node. Later, because we were at the top of the list for a long time, more and more people followed us. 1475 is an accidental number. There will be a different number for each update. There will be four implementation methods when the mainnet is launched, but not all of them will be implemented in the way of lotus in the end, but this does not affect us.

Let me add that Filecoin was open-sourced on February 14 last year, and the development network was launched simultaneously. In that network, everyone can give themselves a name. In fact, we participated in the development network test for the first time. , we also won the first place in most of the versions, but we never used our company name at that time. For example, during the National Day, we named it I love China, and that node also maintained the first place for a long time.

host:

host:

This year, the Filecoin track is very popular. Is there any combination between the wallet track and the Filecoin ecology? What opportunities does the Filecoin ecology have in the wallet?

Eric:

The simplest combination point must be that the wallet can support the storage and transfer operations of Filecoin. But in addition, Filecoin will actually be closely related to the cross-chain ecology of wallets and blockchain applications.

The Ethereum wallet we first made, in addition to the asset function, also supports two protocols at the beginning of the Ethereum wallet, namely Swarm distributed storage and Whisper distributed message, so the Ethereum wallet supports direct uploading of files to distributed storage in the early days of.

In 2018, we supported EOS wallets. The first white paper of EOS actually mentioned the use of IPFS to build a file storage system to provide one-stop services for DAPP. It can be seen that decentralized storage is a very important link for blockchain applications and wallet ecology, and will even bring some subversive innovations.

host:

host:

The audience asked Andy, it is said that the requirements for filecoin mining equipment are very high, will the price be very expensive in the future, and will it affect the enthusiasm of the general public to participate in storage?

Andy:

First of all, there must be a big gap between the implementation of the Filecoin code and what was originally expected in the white paper. At the beginning, it still hopes that all hardware devices can participate in it, so as to achieve a truly broad sense of decentralization, or distribution. However, as the code is gradually improved and discovered, there are actually many difficulties in the middle. In order to ensure safety, a lot of calculations will be greatly increased, and there will definitely be compromises in efficiency.

Judging from the direction of the latest official code modification, the next period of time will be spent on optimizing the code, thereby reducing hardware costs. For example, a 256GB memory machine is required to complete the packaging of the entire sector, but most of the The memory of the server is 32GB or 64GB. The official is also optimizing the algorithm now, hoping to reduce 256GB to 128GB, and lower the threshold while ensuring the safety and stability of the entire underlying code.

host:

host:

The audience asked Andy, how does Filecoin solve the problem of garbage data that may be caused by mining, and will it lead to real storage needs and be unwilling to enter because of the high cost?

Andy:

Now in the environment of lotus and the test network, users are allowed to swipe their own bills, which means that most of the data in the mining machine is garbage data of swiping bills.

But we can look back and see that in the process of ecological development, at the beginning, it was to obtain block rewards by brushing garbage data, so as to attract more machines and hardware equipment to this track. Only when hardware equipment or infrastructure After reaching a certain scale, the stability and efficiency of the entire network can be further improved, and more people will be willing to come in and develop applications. When the real valid data comes in, as miners, they will choose to store valid data.

Also from the official point of view, in this economic model, we have seen that the final weight of the official data for swiping bills and valuable data is different. It can be seen that the official is actually focusing on the future application implementation , and has always hoped to guide miners to store real and effective data instead of purely swiping orders.

host:

host:

The audience asked Andy, the back-end storage space design is the core point of the entire filecoin and the core competitiveness of each mine. It can be said that without high-quality storage space management, you can’t mine anything. How to identify mines on the market? The ability of the machine company?

Andy:

In the case of constant hardware prices, the total hard disk capacity is so much, so file management will not have a particularly big difference. Let me talk about my views on mining efficiency. First of all, the core parameter of the block production rate mentioned above is effective storage, and effective storage is storage that has been verified by the network. How does effective storage come about? In fact, after the original file is fragmented, multiple encryptions are performed, including serial encryption, and there is also a process of forming a Merkle tree in parallel, and then through zero-knowledge proof, the calculated hash is finally sent to the chain Verification, so this process will be very complicated and consume huge computing resources.

At this stage, who can complete the calculation faster, that is to say, complete the packaging of these data into effective storage and effective computing power, determines how fast the mining efficiency of this machine is. There are many dimensions to do here, from hardware matching, to the development of mining software, to the development of the algorithm level, which is what we have been researching for two full years. In other words, from the algorithm optimization of Filecoin's underlying code, to the optimization of the entire mining software system management, to our selection of the final hardware, this whole set of system integration solutions, or a complete set of solutions, will eventually Presented to everyone is a product with the highest input-output ratio.

Of course, in addition to the mining efficiency of its own mining machine, there is another very important thing is operation and maintenance, because Filecoin is not like Bitcoin mining. Filecoin has mortgages and cannot be withdrawn at any time. After all, in your mining machine If you save valuable data from others, it will lock you a copy of FIL and prevent you from withdrawing at any time. At this time, the stable operation of your mining machine, including the stability of the power grid and the program, all play a very important role. Therefore, in the later stage, operation and maintenance is very important, just like mines to ensure that there will be no power outages or network outages, whether the mining machine has a monitoring system to detect whether it is abnormal, the hard disk is broken, the memory is overflowing, or the entire mining There are many factors involved in why the system does not increase its computing power and produce blocks for a long time, all of which require a complete set of operation and maintenance systems to manage.

host:

host:

The audience asked Eric, can Filecoin solve the current data storage needs of the public chain? Will there be a data storage solution similar to Chainlink oracles?

Eric:

At present, the state of the Filecoin chain is saved through IPFS, so it is no problem to save it, and it should be based on cost, privacy, and stability considerations.

MathWallet has a cooperative project called Phala, which is for privacy computing. Their design is to encrypt the data that needs to be calculated and save it to the Filecoin network, because decentralized storage can ensure that the ownership of the data belongs to the user, ensure the sustainability of the service, and reduce Centralized cloud storage (company) single point of failure risk. The FIlecoin network provides a mature solution and guarantees the basis of privacy: decentralization and trustlessness.

The Chainlink oracle machine is more about the process of uploading data to the chain than meeting the data storage requirements, so there should be two different scenarios at this stage.

host:

host:

Link:

Link:http://mathshow.mikecrm.com/2QEz163

Thanks again for your time and listening, see you next time.

Filecoin
钱包
Welcome to Join Odaily Official Community