mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 18:11:10 +00:00
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:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user