Transaction now updates the overall totals for each participant after any operation that might modify those totals. Those can be accessed via the getAmount(Participant) or getAmounts() methods inherited from BalanceChange.