[IPFS Encyclopedia] Filecoin consensus mechanism

The innovative development of FileCoin uses a hybrid consensus mechanism-Proof of Copy (PoRep) + Proof of Time and Space (PoSt) + Expected Consensus (Expected Consensus).

Proof of Replication (PoRep): Proof of Replication is a new type of storage proof. Storage miners need to prove to the verifier that they store the corresponding data on a specific device instead of storing multiple copies of data on one device.

Insert picture description here

Filecoin uses proof of replication to effectively prevent sybil attacks, outsourcing attacks, and generational attacks.

Proof of Time and Space (PoSt): Proof of time and space is based on copying the proof and adding technologies such as timestamps to obtain a proof that miners store data over a period of time. Even if the user is not online, at some point in the future, the time and space proof can be used to verify the data stored by the miners during that period of time.

PoSt is generated when Filecoin verifies that miners store user data. Filecoin converts the current storage ratio of miners in the network relative to the storage ratio of the entire network into voting power of the miner, and reuses PoSt to generate consensus.

Expected consensus (EC): Filecoin's consensus protocol is based on the Proof-of-Stake consensus, and the stake in the equity consensus is replaced by storage. In each cycle, the elected leader is expected There is one miner, but in some cases multiple leading miners will be elected. The elected miners create new blocks and broadcast the new blocks to the network to obtain block rewards. The goal is to make the miner's rights and interests of the block proportional to their own contribution to storage.

Guess you like

Origin blog.csdn.net/weixin_49795899/article/details/113882440