You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transactions in version 3 have a field called action which can either be spend or deposit. A transfer between to users creates two transactions. One on the senders account with the action spend and one on the receivers account with the action deposit, but they are not linked.
We currently have a single type of transaction which appears under
/audits
:But there are actually at least two different types of transactions here:
product
specifies what was bought;difference
is negative)product
isNone
;difference
is positive)product
isNone
;difference
is positive)We distinguish these via the
product
and via thedifference
field.But there can probably be more types:
I just wanted to hear your opinions about changing the data model of a transaction and how we could achieve transferring money.
The text was updated successfully, but these errors were encountered: