From dd1e24b21c594fd092c0e819760bbfb22b7855f9 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Tue, 16 Aug 2022 14:38:11 -0400 Subject: [PATCH] config use fixups --- config/toml.go | 4 ++-- docs/tendermint-core/block-sync.md | 9 ++++++--- docs/tendermint-core/configuration.md | 12 ++++++------ 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/config/toml.go b/config/toml.go index aa2c14ee3..d8ef7c86d 100644 --- a/config/toml.go +++ b/config/toml.go @@ -87,7 +87,7 @@ proxy_app = "{{ .BaseConfig.ProxyApp }}" # A custom human readable name for this node moniker = "{{ .BaseConfig.Moniker }}" -# If this node is many blocks behind the tip of the chain, FastSync +# If this node is many blocks behind the tip of the chain, BlockSync # allows them to catchup quickly by downloading blocks in parallel # and verifying their commits block_sync = {{ .BaseConfig.BlockSyncMode }} @@ -429,7 +429,7 @@ chunk_request_timeout = "{{ .StateSync.ChunkRequestTimeout }}" chunk_fetchers = "{{ .StateSync.ChunkFetchers }}" ####################################################### -### Block Sync Configuration Connections ### +### Block Sync Configuration Options ### ####################################################### [blocksync] diff --git a/docs/tendermint-core/block-sync.md b/docs/tendermint-core/block-sync.md index 77388d850..4d55d52b8 100644 --- a/docs/tendermint-core/block-sync.md +++ b/docs/tendermint-core/block-sync.md @@ -34,13 +34,16 @@ other than v0 have been deprecated in favor of the simplest and most well unders ```toml ####################################################### -### Block Sync Configuration Connections ### +### Block Sync Configuration Options ### ####################################################### [blocksync] # Block Sync version to use: -# 1) "v0" (default) - the legacy fast sync implementation -# All other versions have been deprecated and will error if used. +# +# In v0.37, v1 and v2 of the block sync protocols were deprecated. +# Please use v0 instead. +# +# 1) "v0" - the default block sync implementation version = "v0" ``` diff --git a/docs/tendermint-core/configuration.md b/docs/tendermint-core/configuration.md index 3668e331f..3925b21c8 100644 --- a/docs/tendermint-core/configuration.md +++ b/docs/tendermint-core/configuration.md @@ -319,16 +319,16 @@ trust_period = "0s" temp_dir = "" ####################################################### -### Fast Sync Configuration Connections ### +### Block Sync Configuration Options ### ####################################################### -[fastsync] +[blocksync] -# Fast Sync version to use: -# -# In v0.37, the v1 and v2 fast sync protocols were deprecated. +# Block Sync version to use: +# +# In v0.37, v1 and v2 of the block sync protocols were deprecated. # Please use v0 instead. # -# 1) "v0" (default) - the legacy fast sync implementation +# 1) "v0" - the default block sync implementation version = "v0" #######################################################