Syncronyzes `GDB`, `chains` or everything at once.
`Command syntax:`
```actionscript
net sync {all | gdb | chains}
-net <chain_net_name>
[-mode {update | all}]
```
`Options:`
```actionscript
-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list
-mode - "update" (by default if only new chains and databases are updated) or "all" (updates everithing from zero) (optional)
sync {all | gdb | chains} - syncronizes all | only GDB | only chains
```
### CLI Example
`Command:`
```actionscript
cellframe-node-cli net sync chains
-net foobar
```
`Response:`
```actionscript
state_machine:
current: NET_STATE_ONLINE
requested: SYNC_CHAINS
```
### JSON-RPC Example
![[JSON-RPC Request - NET SYNC]]