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 Mokrynskyi
2022-06-08 11:48:46 +03:00
committed by GitHub
parent b1cc31027f
commit 9765f200cb
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -302,6 +302,8 @@ pub struct DatabaseSettings {
/// Where to find the database.
pub source: DatabaseSource,
/// Block pruning mode.
///
/// NOTE: only finalized blocks are subject for removal!
pub keep_blocks: KeepBlocks,
}