Skip to content

Commit dd0f766

Browse files
refactor(attack-and-defense): convert iframe to Youtube embed
1 parent fecaabd commit dd0f766

File tree

1 file changed

+1
-6
lines changed
  • src/content/developers/docs/consensus-mechanisms/pos/attack-and-defense

1 file changed

+1
-6
lines changed

src/content/developers/docs/consensus-mechanisms/pos/attack-and-defense/index.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,7 @@ A more sophisticated attack can split the honest validator set into discrete gro
6565

6666
**Bouncing attacks** are similar. Votes are again withheld by the attacking validators. Instead of releasing the votes to keep an even split between two forks, they use their votes at opportune moments to justify checkpoints that alternate between fork A and fork B. This flip-flopping of justification between two forks prevents there from being pairs of justified source and target checkpoints that can be finalized on either chain, halting finality.
6767

68-
import { AspectRatio } from '@chakra-ui/react'
69-
70-
<AspectRatio ratio={ 16 / 9 } maxWidth="560px" my={8}>
71-
72-
<iframe title="vimeo-player" src="https://player.vimeo.com/video/637529564?h=25bfe1321e" frameborder="0" allowfullscreen />
73-
</AspectRatio>
68+
<YouTube id="xcPxwhrg3Ao"/>
7469

7570
Both bouncing and balancing attacks rely upon the attacker having very fine control over message timing across the network, which is unlikely. Nevertheless, defenses are built into the protocol in the form of additional weighting given to prompt messages compared to slow ones. This is known as [proposer-weight boosting](https://github.com/ethereum/consensus-specs/pull/2730). To defend against bouncing attacks the fork-choice algorithm was updated so that the latest justified checkpoint can only switch to that of an alternative chain during the [first 1/3 of the slots in each epoch](https://ethresear.ch/t/prevention-of-bouncing-attack-on-ffg/6114). This condition prevents the attacker from saving up votes to deploy later - the fork choice algorithm simply stays loyal to the checkpoint it chose in the first 1/3 of the epoch during which time most honest validators would have voted.
7671

0 commit comments

Comments
 (0)