Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 591 Bytes

README.md

File metadata and controls

10 lines (5 loc) · 591 Bytes

Statesync

To statesync a node, you need at least 2x existing nodes with state-sync.snapshot-interval set to a non-zero value ({NAMESPACE}_SNAPSHOT_INTERVAL).

This example includes 2 deploy files - snapshot-deploy.yml for the two snapshotting nodes, and statesync-deploy for a third statesynced node.

We use the STATESYNC_RPC_SERVERS option which automatically configures statesync from the first node's RPC server, and configures both as the statesync.rpc-servers.

Alternatively you can configure statesync manually using the options in the docs