In some scenarios, where we only need the balances of specific accounts, we can start tracking the account balance for the account only after reaching the tip.
At a high level, the following steps should be followed:
Don't track balances from the beginning.
Once the sync reaches the tip, start taking balance snapshots of specific accounts on-demand.
Build the balance from the previously captured snapshots.
This should significantly reduce the sync time for the aggregation app and also the space requirements.
In some scenarios, where we only need the balances of specific accounts, we can start tracking the account balance for the account only after reaching the tip.
At a high level, the following steps should be followed:
This should significantly reduce the sync time for the aggregation app and also the space requirements.