AmbireTech / adex-market

AdEx Market: a scraper that aggregates ad campaign information from the validator network
7 stars 6 forks source link

Market Health #1

Closed Ivshti closed 5 years ago

Ivshti commented 5 years ago

each campaign/channel should have a "market health"

which is an aggregate of the

so a healthy channel would satisfy:

if the state is unhealthy, there should be good information on why it happens, for example "Channel is unhealthy cause validator A is offline" or "Channel is unhealthy cause validator A reports unhealthy"

Ivshti commented 5 years ago

we should be able to easily compute this value in the browser directly (by querying the validators) so that we don't rely on a cenral service such as the market

It helps that the market will be initially implemented in JS, but this getMarketHealth operation should be written as a library