You are viewing a single comment's thread from:

RE: Inside HIVE to HBD conversions (slightly technical).

in LeoFinance2 years ago

Witnesses broadcast HIVE/USD price.

They actually don't. They broadcast HIVE->BUSD or HIVE->BTC->USDT, or HIVE->BTC->KRW->USD. HIVE->HBD from internal market is also taken into account by some witnesses. For the purpose of price discovery all major stablecoins are considered dollars. It doesn't matter if you can actually perform all the steps to exit to fiat dollars - after all you might be limited by sanctions (if you are f.e. from Iran or Russia) or regulatory burden (if you are US citizen). There might also be fees to be paid on each step of conversion and they are also different for individuals, so they can't be taken into account.

When some form of dollars turns out to be trading above "global consensus" of dollar price, like we had recently with HBD, it is an opportunity for quick profit. It is not limited to crypto, although I think in banking system the opposite happens more frequently. The example of one form of fiat dollars being worth more than the other would be if you are in a country with crappy economy and you have some dollars in your bank account, but you can't transfer them abroad and you can only exchange them with fake official rate, while real (black) market rate is vastly different. In such case dollars in physical cash will be worth more than those in the bank.
[rant mode on]
But it happens in "stable" countries too. Banks and other financial institutions keep mix of MBS-dollars, USTreasury-dollars, Gold-dollars, CorporateBond-dollars and whatever dollars printed from myriad of assets used as collateral and for inter-bank settlements. When system is healthy (on the surface) we all think we have "actual dollars" on our bank accounts. But when some form of collateral turns out to be mostly fake (like in 2008), the dollars that sprung from that asset disappear, and everyone learns what was true all along: you don't have dollars in YourBank, you have YourBank-dollars. Nothing really changed since the time when each bank printed its own banknotes, just introduction of central banks, lenders-of-last-resort, helped to muddy the waters. At least in crypto everyone can decide for themselves which and if any form of stablecoin to keep, so they are not much affected if some other form fails.
[rant mode off]

For that reason hived uses median of witness price feeds to produce an official feed entry.

Median of what set of feeds? Top 20? Top 20+1? Is there any input from backup witnesses taken?

All witnesses from current schedule are taken into account, which means top 20 plus one backup that happened to be in schedule active at time of feed entry creation.