Skip to content

Fix the withdraw delay#1597

Merged
mergify[bot] merged 1 commit intoCodeChain-io:masterfrom
sgkim126:withdraw
Jun 4, 2019
Merged

Fix the withdraw delay#1597
mergify[bot] merged 1 commit intoCodeChain-io:masterfrom
sgkim126:withdraw

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

@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