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 to see if money is pending to be spent when adding txs to the mempool #5

Open
cmarshall108 opened this issue Apr 1, 2019 · 0 comments
Assignees
Labels
bug Something isn't working Urgent Must be done as soon as possible.

Comments

@cmarshall108
Copy link
Member

When adding transactions to the mempool from the protocol, we need to check to see if that particular address already has money pending to be spent to prevent overflowing of multiple double spending transactions. None of the transactions that double spend will make it into a block but they will sit in the mempool until marked invalid or expire after a certain set amount of time specified in parameters.h

https://github.com/AnythingTechPro/vulkan/blob/716ed7985f170a63d7417812307875b55f157135/src/core/mempool.c#L149

@cmarshall108 cmarshall108 added the bug Something isn't working label Apr 1, 2019
@cmarshall108 cmarshall108 self-assigned this Apr 1, 2019
@cmarshall108 cmarshall108 added the Urgent Must be done as soon as possible. label Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Urgent Must be done as soon as possible.
Projects
None yet
Development

No branches or pull requests

1 participant