Why does the Filecoin network have gas fees? What are the factors that affect the gas fee?

According to the Filecoin blockchain browser data, on March 2, 2021, Filecoin's gas fee within 24 hours was 5.655 nanoFIL, the highest point, so what is the gas fee? Why is it sometimes high and sometimes low? What are the factors that affect Gas? V | czdn222

The Filecoin blockchain can handle a limited number of messages. When the demand for messages contained in the blockchain is high, the basic cost will increase to meet the demand and alleviate network congestion. Faced with a large amount of data that needs to be proven, Gas fees will enable the Filecoin network to continue to operate reasonably.

01What is Gas Cost

Gas Fee is also called "fuel fee" or "gas fee". It is generally used to measure how much "work" is required to perform certain actions on the miner chain. Gas Fee is the fee paid to the network for performing this action.

Just like you need to refuel before driving, use gasoline to drive the car. The same is true for Filecoin. All the behaviors of message broadcasting and chaining (such as transfer, message packaging, verification, etc.) need to be completed by consuming Gas.

Filecoin's Gas uses attoFIL and nanoFIL as units. AttoFilecoin represents 10 to the power of 18, which is the smallest unit of Filecoin. Nano represents 10 to the 9th power.
For example, the average message gas cost is:
5.655nanoFIL=5.655*0.000000001=56.55E-10
, which means that each message needs to consume an average of 56.55E-10 FIL

Insert picture description here

02 Influencing factors of Gas cost

Too many messages in the message pool lead to network congestion. For example, if you drive to work at six in the morning and drive to work at nine in the morning, you go to work at six. Because of the low traffic volume and smooth roads, you can reach your destination in a shorter time, which consumes money. Gasoline will be less. But if you drive during the rush hour at nine o'clock, because of the high traffic volume and serious traffic congestion, you will spend more time and consume more gasoline.

Filecoin's gas increase is basically due to the excessive amount of transaction messages and message congestion. It can also be understood as the recent increase in computing power by miners and the system's excessive transaction volume. If there is too much transaction volume, the gas fee will naturally increase. high.

The factor that has the greatest impact on Gas is the destruction fee, and the destruction fee is determined according to the degree of message congestion in the system. Too many messages will increase the fee and cause the gas fee to rise.

03If there is no gas fee

If there is no Gas base fee, then there will be a Gas limit and a priority fee instead. Small miners will be forced to pay the same high fee, but they will be paid directly to the larger miners instead of the entire network, because of the priority fee. The behavior is like an auction.

If we have no Gas limit at all, when the total verification time is close to the epoch duration, the data on the chain cannot be synchronized at all. Both of these situations are worse than the status quo. Therefore, the basic gas fee is irrevocable.

04 FIP and future improvements

According to the official Filecoin website, when the block height reaches 550321, the Filecoin network may be forced to upgrade to version v1.5.0. The upgrade time is March 4th, Beijing time.

Filecoin's official upgrade, the unique "off-chain + rewards and punishments" dual mode proposed by FIP-0010, will help to a certain extent reduce the gas fees of node participants. This will be Filecoin's official gas fee governance. Bold experimentation, the gas fee of the entire Filecoin network may be greatly reduced from the source. V | czdn222

Guess you like

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