Posts

What happens if a witness publishes a wrong price feed on the Hive blockchain?

16 comments·0 reblogs
behiver
78
·
0 views
·
2 min read

A witness on the Hive blockchain is responsible for publishing price feeds, which provide the current market price of the Hive token (HIVE) in other cryptocurrencies. This information is used to determine the value of HIVE for certain transactions, such as the conversion of HIVE to Hive Power (HP). As it happens to be and while I was browsing my list of voted witnesses, I observed that some of them (not from my last) have old price feeds and are not in line with what happens on the market right now. As I saw significant differences, one question popped into my head: What happens if a witness publishes a wrong price feed on the Hive blockchain? Can someone make use of that and manipulate in somehow the transactions to gain something from them?

hive_witness.png
Note: Base imagine generated with BlueWillow AI, all outputs free of use.

The thing is that if a witness publishes a wrong price feed, it can have significant consequences for the Hive blockchain. Some of these examples can include:

  • Misaligned incentives: If a witness publishes a price feed that is significantly higher or lower than the actual market price, it can create incentives for certain transactions that are not in line with the overall goals of the Hive community.
  • Incorrect conversion rates: The price feed is used to determine the conversion rate between HIVE and HP. If a witness publishes a wrong price feed, this can result in incorrect conversion rates, which can have a negative impact on the Hive economy.
  • Unfair distribution of rewards: The rewards for Hive blockchain activities, such as content creation and curation, are distributed based on the HIVE to HP conversion rate. A wrong price feed can result in an unfair distribution of rewards, which can harm the Hive community.

In order to prevent these consequences, the Hive blockchain has a built-in mechanism for detecting and correcting incorrect price feeds. If a significant number of witnesses publish a price feed that is significantly different from the median price feed, the Hive blockchain will automatically adjust the price feed to the median value.

image.png

It is important for witnesses to be diligent in publishing accurate price feeds, as this is a critical component of the Hive blockchain's functioning. By doing so, they can help ensure the stability and fairness of the Hive economy. Having an accurate price feed is also a criterion when I vote for the Witnesses that I support, besides others like HBD Savings APR which I prefer to stay at 20% or uptime and last processed block.

Posted Using LeoFinance Beta