In this paper, Jack, a coin circle alien, the core development engineer of Star Chain, shared in detail the background, principle, underlying technology, mining logic, mine pool and other aspects of Filecoin, bringing you the first solution of Filecoin mine pool in the world.
0 1Filecoin background
Back in 20 17, Filecoin raised $654.38+86 million in just one hour, and finally raised a total of $257 million, which is one of the biggest financing in the history of blockchain. In the financing of that year, Filecoin was invested by many well-known institutions such as Sequoia Capital and Cowen Voss Capital. The total quantity of Filecoin is 2 billion, and the specific distribution and price are as follows: Distribution &; price
Total: 2 billion
Miners: 70%
Protocol laboratory: 15%
Investor: 10%
Filecoin Foundation: 5%
Cost: $0.75
Reward: each piece 153 * $3 = 459, each day 1920 * $459 = 88 1 280.
02
Coin principle
A description of how Filecoin works.
The user entrusts the storage of data files to Filecoin.
Miners in the network provide storage.
Miners are rewarded for the size of storage space.
Core problems to be solved
Witch attack: miners cheat, multiple nodes read the same file, or apply for multiple rewards with one file. Solution-Zero-knowledge proof can prove that a file is stored without exposing the contents of the file.
Solution-Porep &; Late algorithm
The combination of these two algorithms has the following characteristics:
It can be proved that the miners stored specific files.
After adding miners' information, the original file is encoded to prove the uniqueness of storage.
Coding is slow and decoding is fast, and miners cheat.
Encoded files are "effective storage" for users.
The more effective storage, the greater the probability of generating blocks and the higher the probability of getting rewards.
- PoRep
Parallel computing can not be carried out, and multi-core and multi-thread technology can not improve the speed.
It takes 8 hours to calculate a normal and effective storage, and 2 hours after optimization.
Effective storage is 32GB.
Take up hundreds of GB of memory
Temporary storage reaches several hundred GB, which requires high hardware.
-Postal service
The system checks every 45 seconds.
After drawing, you should calculate the certificate and upload it, otherwise you will be punished.
There are high requirements for miners' storage stability and random reading speed.
03
Filecoin mining company
Break the miners' original inertia thinking.
There is no "state" in the physical attributes of existing mining mechanisms, and mining history is not important.
When the mining machine and other hardware are plugged in, the power outage will be over, and there is no cost of currency conversion.
Investing in mining is equivalent to buying futures in the corresponding currency, which is equivalent to "doing more" and slowly recovering costs over time.
Invest in mining machines and slowly recover the cost over time.
Filecoin mining has changed the metal properties of mining industry.
One layer of futures has become two layers of futures.
Investment in computing power and storage equipment-futures 1
Mining Effective Storage for Computing Devices —— Future II
Over time, effective storage will pay off.
Filecoin mining has changed the physical properties of mining industry.
Participating in Filecoin mining requires high maintenance costs.
The deployment of mass storage is technically difficult.
Miners need to make redundant copies of documents locally to prevent being punished for failing to provide proof.
Need to ensure the speed of reading and writing files.
Need to ensure network stability
Storage capacity expansion
04
Filecoin mine
Cluster deployment
rescue
Scalability of storage
storage stability
Security of storage
Storage requires manual maintenance work
calculate
Optimization calculation program
Scalability of computing
network
Network throughput
network stabilization
05
Solutions provided by Star Chain
Mine pool products
We have three ideas to realize the Filecoin mine pool product:
Cloud Computing Capability-All Hardware Leases
Users rent computing resources, and the storage resources are automatically adjusted according to the excavated effective storage;
Charge according to the lease scale and time.
Mining Plan-All Hardware Procurement
Provide hardware solutions such as computing mining machine, storage mining machine and network;
Providing software solutions for mining;
Provide deployment and maintenance services.
Mining machine custody-purchase computing power, lease storage
Users buy computing mining machines and trust our mines;
We are responsible for the access of network and storage devices;
Charge according to the scale and time of lease storage.
06
Follow-up planning of satellite chain
Recently, the Star Chain Mine Pool entered the top miners' pound. At the same time, comprehensively and extensively collect users' demand for mineral pools, and adjust the way of providing services and charging methods.
Star Chain is responsible for providing hardware and software related to Filecoin mining.