Skip to content
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

Check if outputs are in tx pool when getting unspend_outputs #48

Closed
moneroexamples opened this issue Oct 16, 2017 · 1 comment
Closed

Comments

@moneroexamples
Copy link
Owner

When doing multiple spends fast, an error of double spend can occur when making a new txs. The reason is that outptus from txs in mempool can be reselected for new txs, even though they are in mempool waiting for confirmation.

moneroexamples added a commit that referenced this issue May 20, 2018
Partially solves issue:
#48

It checks if a tx that you are submitting contains key images
that are present in mempool, and print outs an appropiate
error message.

Ideally, differnt outputs should be used by the frontend in this case.
But for now, we have to just wait till our past txs get confirmed and disappear from the mempool.
@moneroexamples
Copy link
Owner Author

Also YourMoneroRequests::submit_raw_tx check if any inputs in submitted tx use outputs in mempool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant