Open jorgeantonio21 opened 4 weeks ago
what if the user didn't use all the money in the contract? 1) after some period time the node can set how much money it wants from the contract 2) another time period for dispute from user side 3) user can close the contract (if the node never claimed anything in step 1, it will get all money back?
We should allow a time window, indexed in epochs, for disputes to occur. If not dispute happens, then the node is entitled to receive the payment fees. Notice that, this is distinct from finality. Once a user receives a response together with an attestation, that action can be considered to be final. Otherwise, the user can have a window to dispute a node in case: