Speaking of PoST/PoRep(Proof-of-Spacetime Proof-of-Replication), we should talk about IPFS first, which is InterPlanetary File System. It is a point-to-point distributed file system. Through underlying protocol, files stored on IPFS can be accessed from any place in the world and not affected by firewalls. It enhanced the speed of reading data. Also, it’s safer and opener.
The emergence of IPFs provides a good technical support for our blockchain data storage. What we will discuss next is how to use IPFS to support our blockchain project - Applicable Scenarios and Incentive Ways of PoST/PoRep.
By using PoST/PoRep, which is Proof-of-Spacetime Proof-of-Replication), we can verify the data stored in IPFS by users or system effectively. Before going deeper to how to apply PoST/PoRep, we need to know some fundamental terms and concepts:
User: participant who needs to store data to IPFS
Miner: Provider of IPFS storage, can earn token reward from system with valid storage
Challenge: Users inquiry miners with one or multiple questions. By giving correct answers, miner has a successful challenge.
Prover: Miner. Miner provides valid proof to system to show challenge success.
Verifier: user who inquiries miner. Verifier checks whether the miner has done the data storage task.
Data: Data submitted by users to miners for storage or that already stored by miners
Proof: answers that miner gives when replying challenge from users or system
Process: User challenges prover. Prover gives proof. System verify the proof to see whether that prover has a successful challenge or not.
Now let’s describe the applicable scenarios and incentive ways of PoST/PoRep.
From previous description, it can be seen that PoST/PoRep is accompanied by IPFS. Blockchain has the advantage of data immutability, while IPFS can provide storage services for blockchain well. Therefore, the applicable scenarios of PoST/PoRep is to provide effective verification methods for blockchain data stored on IPFS. Any modification of data stored on IPFS will lead to a verification failure.
In BigBang Core, miners publish the IPFS storage service they can provide to the e-commerce trading platform. The information contains storage size, unit price, location, bandwidth, etc. Users having data storage needs select suitable IPFS storage service according to their needs and own cases and pay the token according to certain payment standards. In the meantime, users also need to challenge the miners regularly or irregularly to ensure that they store the data effectively. The storage miner would get token reward when providing effective storage. The whole process is as follows:
1 miners publish the IPFS storage service they can provide to the e-commerce trading platform. The information contains storage size, unit price, location, bandwidth, etc.
2 Users having data storage needs select suitable IPFS storage service according to their needs and own cases
Data waiting for being stored
Data is stored to IPFS
3 Users challenge the miners regularly or irregularly.
Start a challenge
4 The storage miner would get token according to predefined rules
5 Re-choose the miner. Failed miner get punished according to rules
Previous article ‘the advantages of hybrid consensus mechanism’ has described the strengths of hybrid consensus min. However, it is still worthwhile to emphasize it here again.
For now, almost all the mining machines are wasting resources, not only PoW consumes power, but also the storage-type mines under the PoST/PoRep consensus are idle for CPU / bandwidth / memory / storage capacity. Because just PoW itself has design defects of consuming many resources. What’s more, due to no practical applicable scenarios for PoST/PoRep, no data can be stored. Mines generated under different consensus have are fatal design defects.
But BigBang Core can solve this by involving three kinds of consensus in at the same time. PoW can fasten miner solo through FPGA and other hardwares acceleration ways, which makes token distribution more scattered. Then later CPU and FPGA can support and accelerate data distribution, index and challenge verification. Moreover, the PoW calculations mining machine can do after DPoS large-scale operation also has a certain probability to get rewards for the main network. The block network paralyzing due to the collective strike of DPoS nodes can be prevented as well; the storage capacity and bandwidth of the mining machine can provide spaces for the massive data generated by IoT. And all mining machines can obtain token rewards through data storage, data distribution, data index, challenge verification and other ways.
So nowadays a lot of "storage-type public blockchains" are just the consensus introduced for new concepts. They don’t solve the problems of wasting resource in mines or find a way to fix the defects of storage-type mines. They just keep "luring" the investors with a new concept. However, I think that the technical solution introduced for the practice of technology is not appropriate, just like introducing smart contract in order to introduce the concept of smart contract. It is pointless.