Skip to content

Commit

Permalink
docs: added docs calculation withdrawal frame of validators
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarens2 committed Sep 24, 2024
1 parent d9eec2d commit a8cf789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion how-estimation-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ It's needed to select the Lido-participating validators which are already in pro

#### Algorithm of calculation withdrawal frame of validators:

1. The cursor goes from 0 to the last validator index in infinite loop.
1. Withdrawals sweep cursor goes from 0 to the last validator index in infinite loop.
2. When the cursor reaches a withdrawable validator, it withdraws ETH from that validator.
3. The cursor can withdraw from a maximum of 16 validators per slot.
4. We assume that all validators in network have to something to withdraw (partially or fully)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { SECONDS_PER_SLOT } from 'common/genesis-time';
/*
#### Algorithm of calculation withdrawal frame of validators:
1. The cursor goes from 0 to the last validator index in infinite loop.
1. Withdrawals sweep cursor goes from 0 to the last validator index in infinite loop.
2. When the cursor reaches a withdrawable validator, it withdraws ETH from that validator.
3. The cursor can withdraw from a maximum of 16 validators per slot.
4. We assume that all validators in network have to something to withdraw (partially or fully)
Expand Down

0 comments on commit a8cf789

Please sign in to comment.