Skip to content

[Feature] Enable pruning of historic state #3230

@vicsn

Description

@vicsn

🚀 Feature

Add a new public prune_rocksdb_state<S, T> method, which takes in a rocksdb store and key type, as well as a range.

When called, it will queue a new type of SequentialOperation, which prunes the respective data.

As motivating usecase which should be tested in a unit test, a user should be able to prune all Authority related information older than 100 rounds (Signatures, BatchCertificates, Transmissions) while keeping Transactions

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions