Author Topic: lucky us, avoid from a disaster  (Read 2036 times)

0 Members and 1 Guest are viewing this topic.

Offline zapata42

  • Full Member
  • ***
  • Posts: 62
    • View Profile
  • BitShares: zapata42
Note that Zapata/bitshares-pricefeed don't had the issue, even with global settlement activated (see the code).

The core team announced the change weeks before the network update, and in my case the pricefeed code was checked.

You can also visualize what happened today on the pricefeed tracker.



Offline Bangzi

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
    • Steemit: Bangzi
  • BitShares: bangzi
There is skip change protection:

# skip publishing a feed if price goes above this percentage
skip_change: 30
Bitshares DEX - Over 1000 Coins, Buy, Sell, Transfer & List Any Coins |Free Signup Today: https://wallet.bitshares.org/?r=bangzi

Offline btspp

The root cause of this event should be here: https://github.com/bitshares/bitshares-ui/issues/2634

It has been confirmed that the following methods currently used by btspp dynamically calculate the price of black swan protection.
Quote
Call_price = (collateral × MCR) ÷ debt
The obsolete call_price field is not used.
Email:contact@btsplusplus.com
Website:http://btspp.io
Witness:btspp-witness

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
but please make sure every witness have run the black swan protect logic with correct api ASAP.
and make sure announce for any tiny change of the base protocol please!

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
becasue of this upgrade, we will get a wrong margin call price for each debt from the old api.
based on the BSIP, witness should protect black swan for CNY and USD, so they should give a feed price 10USD/BTS and 10CNY/BTS
this will destroy exist bitCNY and bitUSD, make it only worth around 0.1 FIAT CNY.
the godd thing is seems only gdex-witness run the black swan protect logic, we have avoid from this disaster.