Last active
November 5, 2021 04:54
-
-
Save aalness/a78e3e35b90f52140f0d to your computer and use it in GitHub Desktop.
Finney attack on honest-replace-by-fee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In chronological order: | |
t1 | |
- spends t0 | |
- pays a1 (to attacker) | |
t2 | |
- spends t0 | |
- spends t0b | |
- pays a1 (to attacker) | |
- pays a2 (to attacker) | |
- replaces t1 | |
t3 | |
- spends t0b | |
- pays a3 (merchant) | |
- less fee than t2 | |
t1 is recognized by all nodes. | |
t2 is only recognized by RBF nodes. | |
t3 is only recognized by non-RBF nodes. | |
If t2 is mined now a Finney attack has been executed on | |
the merchant with address a3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment