0

My node is syncing very slow.
If I try to start the node from the latest snapshot to sync with node and add previous snapshot later, will this work?

Will it resolve the histroy issue?

1 Answer 1

1

Snapshot doesn't have any history. (History here means blocks and transactions) It only contains the latest state, and you can sync blocks from the block where snapshot was generated. If you need past blocks (eg. for making a query about transactions before snapshot generation), you need complete blocks.log. However, you can use snapshot to build the latest state instead of replaying all transactions from genesis.

Mixing multiple snapshots is not supported and has no meaning. (Multiple snapshots mean states in different time point)

3
  • Thank you @conr2d for the detailed explanation. Can you please add a reference for the block.log? I am finding a block.log from genesis to the nearest latest block, but unfortunately unable to find any lead. Apr 20, 2020 at 7:36
  • There were some sites providing download of blocks.log, but it seems they are all closed because of cost. If I find one, I will leave the link here.
    – conr2d
    Apr 20, 2020 at 7:54
  • Thank you for all your help. Apr 20, 2020 at 8:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.