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
Box selection inaccurate when there are unconfirmed transactions (transaction is discarded) #5
Comments
|
Feature request which is related to this issue: Batch transactions. IE i can sent more than one transaction to chain before the previous approves. So if i have 3 transactions to do, i don't have to wait 2 to 5 minutes from the 1st to then send the 2nd manually. Is this a security issue or something potentially plausible? It could look like this:
The current functionality is that the user has to actually keep an eye on the blockchain explorer until their first transaction is approved before sending their second. From a UX perspective, it's not ideal, and many users will not understand why this is this case, or know to check block explorer. |
Since it looks like we won't get this explorer feature anytime soon, we can also try to get this solved by fetching the mempool from node right before making a transaction and blacklisting all spent boxes. |
Chained transactions can be supported with the following change:
|
…t and ergo-wallet * Use new Appkit BoxOperations ExplorerAndPoolUnspentBoxesLoader to better support multiple transactions on same block * Use new ExplorerAndPoolUnspentBoxesLoader to support chained tx #5 * Appkit feature merged into develop
Steps to reproduce:
The second transaction is discarded because it selected the same unspent boxes to spend.
Another feature that would be good to have is a way to cancel transactions waiting on the mempool.
The text was updated successfully, but these errors were encountered: