Skip to content

Fix the withdraw delay #1597

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

Merged
merged 1 commit into from
Jun 4, 2019
Merged

Fix the withdraw delay #1597

merged 1 commit into from
Jun 4, 2019

Conversation

sgkim126
Copy link
Contributor

@sgkim126 sgkim126 commented Jun 3, 2019

The withdraw delay should be a term at least due to two reasons:

  1. It needs the first block of the next term to calculate the penalty
    for the disloyal validators.
  2. There is a time to report double votes of the last block.

But it has no reason to be more than a term no byzantine tries to
propagate double vote after 1 term. It does nothing because the chain is
finalized already.

The withdraw delay should be a term at least due to two reasons:
1. It needs the first block of the next term to calculate the penalty
for the disloyal validators.
2. There is a time to report double votes of the last block.

But it has no reason to be more than a term no byzantine tries to
propagate double vote after 1 term. It does nothing because the chain is
finalized already.
Copy link
Contributor

@majecty majecty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify mergify bot merged commit 17cd663 into CodeChain-io:master Jun 4, 2019
@sgkim126 sgkim126 deleted the withdraw branch June 4, 2019 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants