From 7f32e9f699d8bf6c3b427f465391f0e89e7a6f89 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Wed, 27 Sep 2023 22:12:58 +0800 Subject: [PATCH] document changed vars --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 327bad9..7b4ceb7 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Config format: ```toml [snapshot] mode = "file" # indicates output mode - workers = 4 # degree of concurrency, the state trie is subdivided into sections that are traversed and processed concurrently + workers = 4 # degree of concurrency: the state trie is subdivided into sections that are traversed and processed concurrently blockHeight = -1 # blockheight to perform the snapshot at (-1 indicates to use the latest blockheight found in leveldb) recoveryFile = "recovery_file" # specifies a file to output recovery information on error or premature closure accounts = [] # list of accounts (addresses) to take the snapshot for # SNAPSHOT_ACCOUNTS @@ -65,6 +65,12 @@ Config format: genesisBlock = "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3" # ETH_GENESIS_BLOCK ``` +> **Note:** previous versions of this service used different variable names. To update, change the following: +> * `LVL_DB_PATH` => `LEVELDB_PATH` +> * `ANCIENT_DB_PATH` => `LEVELDB_ANCIENT` +> * `LOGRUS_LEVEL`, `LOGRUS_FILE` => `LOG_LEVEL`, `LOG_FILE`, etc. + + ## Usage * For state snapshot from LevelDB: