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

Add ability to view asset issuance in the mempool #360

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

blondfrogs
Copy link
Contributor

  • Remove heavy mempool check which was looping through the whole mempool to see if asset is unique.
  • Remove assets from map when that asset is added into a block

This fixes the case where a miners mempool can get into a state where it produces invalid block templates which will produce invalid blocks because it contains transactions which contain issuances which have already been mined.

@blondfrogs blondfrogs merged commit 956b324 into develop2 Oct 4, 2018
@blondfrogs blondfrogs deleted the assets_in_mempool branch October 6, 2018 19:19
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

Successfully merging this pull request may close these issues.

1 participant