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

Allow one transaction to pass checks without script verification #984

Merged
merged 4 commits into from
Jan 29, 2021

Conversation

psolstice
Copy link
Contributor

PR intention

Dealing with 51% attack we locked attacker's funds.
https://forum.firo.org/t/firo-51-attack-post-mortem-and-vote-on-attackers-funds/1084

In order to reimburse losses of our users we need to transfer ownership of these funds.

Code changes brief

One transaction created in advance with txid of 3ecea345c7b174271bbdcde8cad6097d9a3dc420259743d52cc9cf1945aaba03 is allowed to circumvent normal verification process and go through without script checks

@lgtm-com
Copy link

lgtm-com bot commented Jan 28, 2021

This pull request introduces 3 alerts when merging 8f66384 into 5525561 - view on LGTM.com

new alerts:

  • 3 for Unused static function

@reubenyap reubenyap merged commit 1f2121a into master Jan 29, 2021
@reubenyap reubenyap deleted the txid-whitelist branch January 29, 2021 15:33
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.

4 participants