Improve docs on --keep-blocks CLI parameter and related data structures (#11611)

* Improve docs on `--keep-blocks` CLI parameter and related data structures

* Update client/db/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Nazar MokrynskyiandBastian Köcher authored and GitHub committed 2022-06-08 10:48:46 +02:00
1 parent b1cc31027f
commit 9765f200cb
4 files changed
+8

No files matched your search

+2
View File
@@ -77,6 +77,8 @@ pub struct Configuration {
/// State pruning settings.
pub state_pruning: Option<PruningMode>,
/// Number of blocks to keep in the db.
///
/// NOTE: only finalized blocks are subject for removal!
pub keep_blocks: KeepBlocks,
/// Chain configuration.
pub chain_spec: Box<dyn ChainSpec>,