Open andhartl opened 5 years ago
Please define uptime. What exactly is the information you want to see ? Uptime as the number of second the node is up since it booted ? Or uptime as the percentage the node has been up over the last month ?
definition: minimum one ping a day means the node is online for that day in our current model would be good to give access to all pings we get from a node via the api. then the farmer can build her/his own representation of uptime
give access to all pings we get from a node via the api
I don't see how we would provide that...a list of timestamp ? This list would grow forever, this is not something we can either store nor return in an API.
maybe just give them the ping/timestamp when it happens? so we do not store but give them access to the same data we get
please add an api which allows farmers to get the uptime for their node