EA Balance Check
PROGRAMMING TASK
Description of Task
At worker startup, perform a balance query. If the worker reports a lower balance than the one we have, penalize the host accordingly. The the balance is higher than ours (ours may be 0 due to unclean shutdown), prefer that balance instead.
This check has to happen on startup, but also periodically. This to ensure there is no drift between the renter and host. This is about understanding our own code and double checking it, not about catching the host cheating.
Reason or Need for Change
Need to manage drift between expected balance on renter and actual balance on host.
Design / Proposal
/
Edited by Peter-Jan Brone