1

Is there a public service that provides copies of the whole blockchain? I dont mean full snapshots but the real context/store for archive nodes. I need this in order to run a local tzscan api. I only found https://tezosshots.com/ but this did not work with my node as it said this is not a correct mdb file.

Any help would be greatly appreciated!

4
  • chainlayer.io used to propose such archive contexts as well.
    – vect0r
    Aug 21 '19 at 9:46
  • yeah they only said "soon", so nothing i can find
    – DZDomi
    Aug 21 '19 at 12:46
  • It seems that it is possible to download an archive context on chainlayer.io. Only the help is tagged as "soon".
    – vect0r
    Aug 21 '19 at 14:21
  • Thanks i just saw it! I will try it out and see if it works
    – DZDomi
    Aug 21 '19 at 15:27
1

It is usually not a good idea to retrieve someone's else whole storage (context and store). Indeed, the data may have been altered in different ways and it could be harmful.

If you want to get the chain in archive mode, it is recommended to bootstrap it from scratch (don't forget the --history-mode archive option when running the node). It is indeed a quite long process but it is currently the safest way.

An alternative solution would be a tezos-node command which aims to reconstruct an archive storage from a full one. When called, it will re-apply all the operations of the chain in order to reconstruct the whole ledger state (context). It is safe as it relies on the standard block validation. Such a feature should be available soon …

2
  • thanks for your answer! unfortunately syncing from scratch is not an option is it would took a few weeks. Is there no other provider that provides a full archive to download?
    – DZDomi
    Aug 21 '19 at 12:46
  • @DZDomi Unfortunately, this is the only way. Import a 'full' snapshot to your node then run a reconstruct to convert it to archive. It takes about 7 days to complete. You can run a second node, locally, that only connects to your primary node to fetch the data, which will go much faster than trying to sync directly from the network.
    – utdrmac
    Mar 16 '20 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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