找一個已經同步完區塊高度的節點
lotus chain export --recent-stateroots=900 --skip-old-msgs snapshot.car
匯出時間大概30分鐘,快照3.9GB
# ls -lh | grep snapshot.car
-rw-r--r-- 1 root root 3.9G 9月 28 10:50 snapshot.car
新節點匯入快照,加速區塊高度同步
lotus daemon --import-snapshot snapshot.car
lotus sync status
# lotus sync wait
Worker: 0; Base: 98799; Target: 98799 (diff: 0)
State: complete; Current Epoch: 98799; Todo: 0
Done!