Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Rename --pruning and --keep-blocks to be more similar to one another.  #11907

@kianenigma

Description

@kianenigma

I actually very recently learned that we have a flag called --keep-blocks. We where also teaching students about Polkadot recently in Polkadot academy and they are somewhat confused about the concept of "block state" and "blocks" themselves, and how keeping one is optional, and the name of these two flags being totally unrelated does not help.

I think these two flags are very similar, and should be named accordingly:

  • --keep-blocks and --keep-state
  • --state-pruning and --blocks-pruning

Metadata

Metadata

Assignees

Labels

J2-unconfirmedIssue might be valid, but it’s not yet known.Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coderZ6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.

Type

No type

Projects

Status

done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions