go-algorand
go-algorand copied to clipboard
daemon: add pool error message
Summary
Transaction pools might store failed transactions for quite a long time on its StatusCache. When someone requests a pending transaction and it gets retrieved from the StatusCache, there is no indication it actually failed. A user might have an impression the txn is fine but stuck. In order to give a correct feedback, report any errors from the StatusCache via REST API.
Test Plan
TODO
We are encountering issues with this and could really use a quick resolution. WaitForConfirmation essentially times out after 4 rounds, rather than telling us the txn failed.
Replaced by #4755 (rebased, added cache pruning)