TransWikia.com

Running Tezos node with rolling mode but sync started at the beginning

Tezos Asked by Bake Tz on November 17, 2021

I’m running the node by described here:
https://medium.com/@Jamyye/install-tezos-node-on-ubuntu-18-04-rolling-history-mode-e26598daa3d2
OR
https://gist.github.com/hclivess/cfbc8eddb1f5692c619036cb47072934
with rolling mode but sync started at the beginning and already use 50GB. I checked timestamp:
$ ./tezos-client get timestamp
2018–12–05T16:55:20Z
What I’m doing wrong?

2 Answers

Im not sure that OP is importing a snapshot - seems OP simply wants to run a rolling node, and expects the node to sync itself with only the 5 latest cycles?

Answered by Bo Byrd on November 17, 2021

Use the history-mode argument when importing the snapshot. These are the steps:

rm -rf .tezos-node/{context,store,version.json}
tezos-node snapshot import "${SNAPSHOT_FILENAME}" --history-mode=experimental-rolling
tezos-node config init
tezos-node run --history-mode=experimental-rolling --rpc-addr=127.0.0.1:8732 --connections=20 --bootstrap-threshold=3 

Answered by Phlogi on November 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP