-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit number of checking rpc nodes per cycle. Handling ctrl + c
- If we assume that 1 slot = 400 ms, and the download speed check time is 15 seconds. Then for 1 check the snapshot lags behind by 37.5 slots, for 10 by 375 slots. num_of_rpc_to_check = 10 ```python measurement_time = 15 sec slot_time = 400 ms measurement_time / slot_time = 37.5 slots per check ``` - Added signal handler (ctrl + c - exit)
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters