Is there any relationship between the development of the blockchain mining model system and the blockchain?

hi! Hello everyone! Today, I will explore the story of the blockchain mining system. This article is organized and published by mkz888z. Welcome to communicate at any time!

The main differences between IPFS and blockchain include:

1. Blockchain is a technology that records transaction data and maintains history in blocks. IPFS aims to replace HTTP, which is a protocol and network designed to be a peer-to-peer method of sharing and storing media.

2. Blockchain technology is not suitable for storing large amounts of data. IPFS is used by blockchain applications that require a publicly accessible database. IPFS stores large amounts of data on different nodes. It uses the blockchain's token economy (its incentive layer Filecoin) to keep these nodes online.

3. After entering the data on the blockchain; it cannot be updated or deleted, use the link of the previous block hash function to create a new block. In IPFS, network data can only be deleted when another node chooses not to re-host. At the same time, IPFS supports version control.

4. The blockchain stores data in a block with data, hash function and previous hash. Files are stored in IPFS objects. These objects can store up to 256kb of data, and can also be connected to other IPFS objects and files stored in IPFS objects. These objects can store up to 256kb of data and can also be connected to other IPFS objects.

These characteristics make IPFS an ideal place for distributed storage of data, which can use blockchain technology for reference and time stamping.

IPFS is not a blockchain project, but its incentive layer Filecoin is a veritable blockchain project.

Filecoin is an incentive layer running on IPFS. It is a distributed storage network based on blockchain. It turns cloud storage into an algorithmic market. Tokens (FIL) play an important role here. Tokens are an intermediary bridge between users of communication resources (storage and retrieval) (IPFS users) and resource providers (Filecoin miners). The Filecoin protocol has two trading markets-data retrieval and data storage. Both parties are in the market. Submit your needs and conclude the transaction. IPFS and Filecoin promote each other, grow together, and solve the problem of data storage and data distribution on the Internet. Especially for countless blockchain projects, IPFS and Filecoin will exist as an infrastructure. This is why we see more and more blockchain projects adopt IPFS as a storage solution, because it provides a cheaper, safer, and quickly integrated storage solution.

What changes does IPFS bring to the blockchain?

The birth of the blockchain is to achieve decentralization, reach a consensus without a central organization, and jointly maintain a ledger. Its design motivation is not for high efficiency, low energy consumption, or scalability (if you pursue high efficiency, low energy consumption and scalability, centralized programs may be a better choice).

IPFS and the blockchain work together to complement the two major shortcomings of the blockchain: one is that the storage efficiency of the blockchain is low and the cost is high; the other is that cross-chain requires coordination between various chains and is difficult to coordinate.

In response to the first problem, the blockchain network requires all miners to maintain the same ledger, and each miner needs to keep a copy of the ledger locally. Then, in order to ensure that the information stored in the blockchain cannot be tampered with, it is also necessary to keep a backup in the hands of each miner, which is very uneconomical.

Imagine that there are 10,000 miners in the entire network, and even if we hope to store 1MB of information on the network, the storage resources consumed by the entire network will be 10GB. At present, there are also compromise solutions to alleviate this problem. When building a decentralized application DAPP, the widely adopted method is to store only the hash value in the blockchain and store the information that needs to be stored in a centralized database. In this way, storage has become a shortcoming in decentralized applications and a fragile link in the network.

IPFS proposes another solution: you can use IPFS to store file data, and place the only permanently available IPFS address in the blockchain transaction instead of putting the data itself in the blockchain.

In response to the second question, IPFS can assist various blockchain networks to transfer information and documents. Bitcoin and Ethereum have different block structures, and different distributed data structures can be defined through IPLD. This function is currently under development. The current IPLD component has realized that the Ethereum smart contract code is stored through IPFS, and only this link needs to be stored in the Ethereum transaction.

IPFS and blockchain are a perfect match. We can use IPFS to process large amounts of data and place an unchanging and permanent IPFS link in the blockchain transaction without having to put the data itself in the blockchain. After all, the essence of blockchain is a distributed ledger. One of its bottlenecks is the storage capacity of the ledger. At present, the biggest problem with most public chains is that they cannot store a large amount of data on their own chains. Bitcoin has only hundreds of gigabytes of block data so far. Programmable blockchain projects like Ethereum can only execute and store small pieces of contract code, and the development of DApps has been greatly restricted. Using IPFS technology to solve storage bottlenecks is one of the feasible solutions. This article is organized and published by mkz888z. Welcome to communicate at any time!

Guess you like

Origin blog.csdn.net/mkz888z/article/details/113659657