Reconciliation issue with fast block time


Our block-time is relatively fast, it’s about ~10 seconds.
When testing reconciliation with HistoricalBalanceEnabled=false we ran into following issue:

If reconciliation calls /balance and the request gets delayed somehow (e.g. network issues, …) and a new block arrives in the meantime (that confirmed some balance-changes for that address), the returned balance will be invalid.

I guess a solution would be to enable Historical Balance Lookups to fetch the balance for the specific block.
Unfortunately, we can’t implement Historical Balance Lookups, it would require major changes to our node software. Is there any other solution to this issue? Many thanks for the help.

This issue was solved by making sure that the returned balance relates to the returned block index.
It was an error in the implementation of /balance :slightly_smiling_face: