Module sync_cmd

Module sync_cmd 

Source

Enumsยง

SyncCommands

Functionsยง

check_snapshot_progress ๐Ÿ”’
Check if the snapshot download is in progress, if wait is true, wait till snapshot download is completed else return after checking once
clear_previous_lines ๐Ÿ”’
handle_initial_snapshot_check ๐Ÿ”’
Checks if a snapshot download is required or in progress when the node is initializing. If a snapshot download is in progress, it waits for completion before starting the sync monitor.
print_fork_sync_info ๐Ÿ”’
Prints fork sync info and returns the number of lines printed (expected to be 1).
print_sync_report_details ๐Ÿ”’
Prints the sync status report details and returns the number of lines printed.
tipset_key_to_string ๐Ÿ”’
wait_for_node_to_start_syncing ๐Ÿ”’
Waits for node initialization to complete (start Syncing).