Other Routines
Statistic routines etc
Getting the Full State Sync Statistic
The following function is used to evaluate syncing performance during the full state synchronizing
The statistic within that function build during the full state sync only
Returns
SyncStat object containing different performance indicators
Example
Getting Average Sync Time
To retrieve average time spent on processing one transaction in the local state you can use the following method
The estimate can be inaccurate because the regular sync (opposite with the full one) fetches just few latest transactions so overhead can affect the average time
Returns
average time per transaction in milliseconds or undefined
if there is no statistic collected
Example
Last updated