跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

How to replay or resync with full history

Goal

This procedure records the entire chain history.

Before you begin

Steps

  1. Get a block log and place it in data/blocks, or get a genesis file and use the --genesis-json option

  2. Make sure data/state does not exist, or use the --replay-blockchain option

  3. Start nodeos with the options listed in the state_history_plugin