threefoldtech / minting_v3

minting code for grid v3, using v3 tokenomics
Apache License 2.0
0 stars 0 forks source link

Reduce allowed delay for pings from power managed nodes #23

Closed LeeSmet closed 1 year ago

LeeSmet commented 1 year ago

currently this is set to 25, however in the initial discussions it was agreed that the maximum amount of time after the last ping was sent is 24. The code should reflect this. Additionally, it was said we would track time between pings, however time between a power target state change (falling edge) and a ping after reboot (uptime event where uptime < uptime event timestamp - power target change timestamp) is sufficient and more accurate when concerning other calculations (there is also an issue since an event is sent after changing the power target when a node actually shuts down).