Excellent article! I've found it's very easy to store the edges of the graph only, and then SUM them & * -1 if it's the debit side. In blockchain articles some have called it "triple-entry accounting", but that's kinda gimmicky and not too accurate.
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Excellent article! I've found it's very easy to store the edges of the graph only, and then SUM them & * -1 if it's the debit side. In blockchain articles some have called it "triple-entry accounting", but that's kinda gimmicky and not too accurate.