You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swarm<T>.PreloadAsync() is a method to download blocks preemptively. After preloading, we should call Swarm<T>.StartAsync() to synchronize the blockchain periodically, then Swarm<T> starts to receive blocks and synchronize the blockchain periodically.
But now, PreloadAsync() is called from StartAsync() one more time, to receive blocks created during preloading. So IMO they should be distinguished clearly by making StartAsync() not to call PreloadAsync(), to ensure each functions.
The text was updated successfully, but these errors were encountered:
Swarm<T>.PreloadAsync()
is a method to download blocks preemptively. After preloading, we should callSwarm<T>.StartAsync()
to synchronize the blockchain periodically, thenSwarm<T>
starts to receive blocks and synchronize the blockchain periodically.But now,
PreloadAsync()
is called fromStartAsync()
one more time, to receive blocks created during preloading. So IMO they should be distinguished clearly by makingStartAsync()
not to callPreloadAsync()
, to ensure each functions.The text was updated successfully, but these errors were encountered: