Skip to content
Snippets Groups Projects
Commit 6417c379 authored by Daniele Nicolodi's avatar Daniele Nicolodi
Browse files

balance: Rewrite without abusing BQL queries

Cumulative balances are more efficiently obtained adding to account
inventories while iterating one time through the ledger transactions.
The only subtlety is that, because inventory objects are mutable,
intermediate inventories need to be copied when are emitted or will be
overwritten when subsequent transactions are added.
parent 8c011f88
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment