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

Preventing hd counter reuse, Allow to spend such mints #1036

Merged
merged 18 commits into from
Aug 17, 2021

Conversation

levonpetrosyan93
Copy link
Contributor

@levonpetrosyan93 levonpetrosyan93 commented May 16, 2021

During Lelantus mint creation there was missing a check if a sigma mint with the same private data already exists on chain, and due to that there were created lelantus mints with reused HD counter. The check added.

As during spend serial number use check was done on both sigma and lelantus used serial sets, such lelantus mints became unspendable, After HF block we are checking sigma serials only on sigma used serial set, and lelantus serials only on lelantus used serial set.

@lgtm-com
Copy link

lgtm-com bot commented May 16, 2021

This pull request introduces 2 alerts when merging d94f48b into 677b54c - view on LGTM.com

new alerts:

  • 2 for Unused static function

@levonpetrosyan93 levonpetrosyan93 changed the title Preventing hd counter reuse Preventing hd counter reuse, Allow to spend such mints May 17, 2021
@lgtm-com
Copy link

lgtm-com bot commented May 17, 2021

This pull request introduces 2 alerts when merging dc2fd38 into 677b54c - view on LGTM.com

new alerts:

  • 2 for Unused static function

@lgtm-com
Copy link

lgtm-com bot commented Jun 11, 2021

This pull request fixes 3 alerts when merging 52b3dd0 into e2c8db6 - view on LGTM.com

fixed alerts:

  • 3 for Unused static function

@reubenyap reubenyap modified the milestones: v0.14.7.1, v0.14.8.1 ProgPOW Jun 22, 2021
@reubenyap reubenyap added the bug label Jun 24, 2021
@lgtm-com
Copy link

lgtm-com bot commented Jul 14, 2021

This pull request introduces 2 alerts when merging 2a44cab into 8192c5f - view on LGTM.com

new alerts:

  • 2 for Unused static function

psolstice added a commit that referenced this pull request Aug 16, 2021
@levonpetrosyan93 levonpetrosyan93 changed the base branch from master to lelantus-payload August 17, 2021 07:58
@lgtm-com
Copy link

lgtm-com bot commented Aug 17, 2021

This pull request introduces 2 alerts when merging 1c00b8d into 8f01f63 - view on LGTM.com

new alerts:

  • 2 for Unused static function

psolstice
psolstice previously approved these changes Aug 17, 2021
Base automatically changed from lelantus-payload to master August 17, 2021 15:13
@reubenyap reubenyap merged commit 2354314 into master Aug 17, 2021
@reubenyap reubenyap deleted the counter_reuse_fix branch August 17, 2021 15:45
@lgtm-com
Copy link

lgtm-com bot commented Aug 17, 2021

This pull request fixes 3 alerts when merging 50a0c74 into f488a2a - view on LGTM.com

fixed alerts:

  • 3 for Unused static function

ghost pushed a commit that referenced this pull request Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants