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

Decoy flip flop resistance #1466

Merged
merged 4 commits into from Nov 7, 2019

Conversation

@djrtwo
Copy link
Contributor

djrtwo commented Nov 5, 2019

Integrate FMD GHOST into the fork choice rule to prevent "decoy flip flop attacks" discussed here.

  • Only consider an attestation in on_attestation if it is from the current or previous epoch (wrt wall clock time).
  • add a few tests

Note: this currently has bounce-attack as base branch for easy review. Will swap to v09x once bounce-attack is merged

@djrtwo djrtwo force-pushed the decoy-flip-flop branch 2 times, most recently from c28738f to 39eecfb Nov 5, 2019
@djrtwo djrtwo force-pushed the decoy-flip-flop branch from 39eecfb to 4f42f63 Nov 5, 2019
specs/core/0_fork-choice.md Outdated Show resolved Hide resolved
djrtwo added 2 commits Nov 7, 2019
…ice on_block
@djrtwo djrtwo changed the title [WIP] Decoy flip flop resistance Decoy flip flop resistance Nov 7, 2019
@djrtwo djrtwo changed the base branch from bounce-attack to v09x Nov 7, 2019
@djrtwo djrtwo merged commit e7f7188 into v09x Nov 7, 2019
6 checks passed
6 checks passed
ci/circleci: checkout_specs Your tests passed on CircleCI!
Details
ci/circleci: deposit_contract Your tests passed on CircleCI!
Details
ci/circleci: install_deposit_contract_test Your tests passed on CircleCI!
Details
ci/circleci: install_pyspec_test Your tests passed on CircleCI!
Details
ci/circleci: lint Your tests passed on CircleCI!
Details
ci/circleci: test Your tests passed on CircleCI!
Details
@djrtwo djrtwo deleted the decoy-flip-flop branch Nov 7, 2019
@terencechain terencechain referenced this pull request Nov 8, 2019
0 of 6 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.