codex-storage / codex-contracts-eth

Ethereum smart contracts for Codex
Other
5 stars 9 forks source link

Partial payouts for cancelled Requests #45

Closed AuHau closed 9 months ago

AuHau commented 1 year ago

Currently, as described in #43 the money put into a Request by the Client is paid out to Hosts when the Request is canceled because of timeout. Instead, the money should be split between Hosts and Client based on the time for how long Hosts stored the content before the Request was pronounced to be timed out and the rest paid out to the Client.