You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comment in the PriceNode says "Specific metadata fields for specific providers are expected by the client, mostly for historical reasons".
If any of them are not present, an Null Pointer Exception occurs and the price node is switched out for an alternate. If all price nodes are doing the same thing, then Bisq will not have any market price feed.
This is currently a problem because the poloniex feed is down, and therefore poloniexTs is not present in metadata, unless the pricenode has cached results from previously when the feed was working. The observed effect is that if you reboot a pricenode with the poloniex feed not working, it will not provide metadata that Bisq clients rely on.
There is code in the Bisq client to expect the following hard coded metadata items from the Price Node:
bisq/core/src/main/java/bisq/core/provider/price/PriceProvider.java
Lines 67 to 69 in 34d61d1
A comment in the PriceNode says "Specific metadata fields for specific providers are expected by the client, mostly for historical reasons".
If any of them are not present, an Null Pointer Exception occurs and the price node is switched out for an alternate. If all price nodes are doing the same thing, then Bisq will not have any market price feed.
This is currently a problem because the poloniex feed is down, and therefore
poloniexTs
is not present in metadata, unless the pricenode has cached results from previously when the feed was working. The observed effect is that if you reboot a pricenode with the poloniex feed not working, it will not provide metadata that Bisq clients rely on.Temporarily, here is a bisq-pricenode patch to restore the missing metadata:
https://gist.github.com/jmacxx/eff7705656640d7845e15bad60ad11d3
Ultimately, the Bisq client should not expect exchange specific tags in the feed, because exchanges are not permanent.
Credit to Matrix user paulj for working through this issue and bisq-network/bisq-pricenode#18
The text was updated successfully, but these errors were encountered: