-
Notifications
You must be signed in to change notification settings - Fork 3
Description
To mitigate counterparty risk in the scenarios N2 and N3 as described in the protocol overview, timelocked conditions are used in the outputs of the funding transaction and of the HTLC settlement transaction, one to protect Bob in the case Alice is unresponsive and one to protect Alice in case Bob is unresponsive. The problem I see with the current scheme is that if Alice's timelock expires first, Alice can avoid paying Bob (assuming she is not interested in the service anymore) and redeem the reward before Bob can redeem with his timelock. Similarly, if Bob's timelock is the first to expire, he can just redeem the reward without providing any service before Alice is able to do anything with the HTLC's timelocked output.
Probably, the only solution to this problem is to implement lightning based payments so that Bob can receive frequent micropayments while providing probabilistic proofs that he is still storing the data. In this way, as soon as Alice stops paying for the service, he can stop storing the data.