Skip to content

Pruning cutoff should be calculated from LIB instead of from head #6

@systemzax

Description

@systemzax

As we are currently pruning from the head, if the PRUNING_CUTOFF is a small number, or if there is a loss of liveness (LIB stops advancing), we run the risk of pruning data that would still be required after a reorg.

Applying PRUNING_CUTOFF from LIB solves the issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions