Skip to content

Files

Latest commit

6ff4c31 · Jul 28, 2021

History

History
18 lines (12 loc) · 789 Bytes

state-sync.md

File metadata and controls

18 lines (12 loc) · 789 Bytes
order
11

State Sync

With block sync a node is downloading all of the data of an application from genesis and verifying it. With state sync your node will download data related to the head or near the head of the chain and verify the data. This leads to drastically shorter times for joining a network.

Information on how to configure state sync is located in the nodes section

Events

When a node starts with the statesync flag enabled in the config file, it will emit two events: one upon starting statesync and the other upon completion.

The user can query the events by subscribing EventQueryStateSyncStatus Please check types for the details.