-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To store locally the submitted transactions until they are returned by the network #139
Comments
@ahmed-tarek-salem could you please have a look if there is something currently implemented for this? |
Yes, you are right. |
|
A case of invalid trx returned as failed by the network is when there is not enough balance to execute it (actually the transfer is what failed, moneyflew false). A case of trx not returned by the network I think is when you 'schedule' more than one trx for the future. Please see here https://qubic.github.io/integration/Partners/tx-based-use-case.html#rule-1-one-concurent-tx-per-source-address the scenario described for Rule 1. I think we can keep it even when the epoch has passed so the user still can resend it. I think it would also make sense to add a Delete option for the "Failed-Invalid'. |
A transaction is returned by the rpc api once the target tick is lower than current tick.
While the transaction is 'waiting for execution' it should be stored safely locally and to have a 'pending' status.
It can happen that the network never returns it and if the ticket is passed, it can be be changed as "Failed-Invalid'.
When the user erase the wallet, all the transactions store locally should be deleted from the device.
The text was updated successfully, but these errors were encountered: