Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

clean up amount/fee semantics in exchanges table #2442

Closed
chadwhitacre opened this issue May 28, 2014 · 3 comments
Closed

clean up amount/fee semantics in exchanges table #2442

chadwhitacre opened this issue May 28, 2014 · 3 comments
Labels

Comments

@chadwhitacre
Copy link
Contributor

The relationship between the amount and fee columns in the exchanges table is counterintuitive. Reticketing from #1118 (comment):

I'd like to to continue the discussion about what would be the principle of least surprise regarding the exchanges table.

The least surprising would be if both payins and payouts behaved the same. I'd like to be able to do either one of

  • balance = balance + amount - fee
  • balance = balance + amount

not depending on the sign of the amount. It does not really matter which one. The first variant behaves like when we are taking the fee of the balance. The second variant behaves like the user pays the fee before the money reaches gittip or after it has left. Both are fine choices.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@chadwhitacre
Copy link
Contributor Author

#3653 will obviate this.

@chadwhitacre
Copy link
Contributor Author

So much for #3653. Still, this ticket should be informed by that one.

@chadwhitacre
Copy link
Contributor Author

Closing in light of our decision to shut down Gratipay.

Thank you all for a great run, and I'm sorry it didn't work out! 😞 💃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant