以滚动模式运行Tezos节点,但同步始于
-
-
我必须拍摄快照并将其导入以进行垃圾收集.希望gc将来会自动发生.I've had to take a snapshot and import it to garbage collect. Hopefully gc will happen automatically in the future.
- 1
- 2019-05-13
- Richard Ayotte
-
2 个回答
- 投票数
-
- 2020-01-23
在导入快照时使用history-mode参数.这些是步骤:
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
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
-
我正在按以下说明运行节点: https://medium.com/@ Jamyye/install-tezos-node-on-ubuntu-18-04-rolling-history-mode-e26598daa3d2 要么 https://gist.github.com/hclivess/cfbc8eddb1f5692c619036cb47072934 使用滚动模式,但同步从头开始,已经使用了50GB.我检查了时间戳: $ ./tezos-client获取时间戳 2018–12–05T16:55:20Z 我在做什么错了?