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

Block-bound tx to prevent replay attack #170

Closed
h0n9 opened this issue Nov 21, 2019 · 0 comments · Fixed by #173
Closed

Block-bound tx to prevent replay attack #170

h0n9 opened this issue Nov 21, 2019 · 0 comments · Fixed by #173
Assignees
Labels
feature New feature or request
Milestone

Comments

@h0n9
Copy link
Contributor

h0n9 commented Nov 21, 2019

  • set grace period
  • index txs in block (height-first, tx_hash-first)
  • update txs index as height grows
  • set recheck = True
  • check tx availability in CheckTx()
    • format check (common)
    • tx.Recheck == False -> sig check, height check
    • tx.Recheck == True -> height check

sub-issue of #152

@h0n9 h0n9 added the feature New feature or request label Nov 21, 2019
@h0n9 h0n9 added this to the v1.3 milestone Nov 21, 2019
@h0n9 h0n9 self-assigned this Nov 21, 2019
@Lbird Lbird changed the title Block-Tx bind to prevent replay attack Block-bound tx to prevent replay attack Nov 21, 2019
@h0n9 h0n9 closed this as completed in #173 Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant