golemfactory / yagna

An open platform and marketplace for distributed computations
GNU General Public License v3.0
382 stars 60 forks source link

Update Provider Payments #2903

Open golmek opened 9 months ago

golmek commented 9 months ago

Currently, when Provider sends final Invoice it requests for funds, which are sum of all debits notes regardless of their status. This means that Invoice contains funds requested with not-accepted debits notes. It results in some situations where Invoice will never be paid by the Requestor as He has no budget to pay the whole Invoice. Alternatively Requestor could pay all accepted debits notes. From the Provider perspective it is better to get 90-99% of compensation, rather than 0%

Acceptance Criteria:

Additional Information:

golmek commented 9 months ago

around 5MD of work

golmek commented 8 months ago

To be re-visited as there is better idea to do that.