cryptonetlab / retriev

Home of Retriev protocol (by CryptoNet + YOMI)
https://retriev.org
18 stars 6 forks source link

Referee Network status API #15

Open 0xjona opened 2 years ago

turinglabsorg commented 1 year ago

Starting a discussion about what data must be collected from the referee network. At the moment i've inserted those statuses:

Main goal of the network status is, in my opinion:

turinglabsorg commented 1 year ago

We need one more signal:

0xjona commented 1 year ago

@turinglabsorg what is the shipping date for this? what to you need?

turinglabsorg commented 1 year ago

@0xjona @irenegia we need to discuss with @claudiofabbro on how to show data. All things i proposed in comments above are implemented and collected, now we need to understand how to use data. Simple things can be:

Something else?

0xjona commented 1 year ago

some reference

irenegia commented 1 year ago

@turinglabsorg Is this still in progress or should I move to paused/done?

turinglabsorg commented 1 year ago

@irenegia the API part is done, we collect data as i described here but there's no graphic implementation. I think we should continue working on that with Elisea.

irenegia commented 1 year ago

what's elisea handle on github? so I can add her here!

turinglabsorg commented 1 year ago

@irenegia here we are: @gdelsi

0xjona commented 1 year ago

Yes it was not planned before, we focused on something else. And yes lets design it, both for retriev and onchain

irenegia commented 1 year ago

okay, should we close this issue as "api work done" and open two new issues for the design work (one for retriev and one for onchain)?

@turinglabsorg @0xjona

turinglabsorg commented 1 year ago

Split the SLASH_<APPEAL_ID> in two different signals to have more granularity:

SLASH_AS_LEADER_<APPEAL_ID>: When a referee slashes the provider as leader

SLASH_WITH_CONSENSUS_<APPEAL_ID>: When a referee collects the slashes and post them onchain