8000 store: Provide a way for users to follow deleted headers · Issue #301 · celestiaorg/go-header · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
store: Provide a way for users to follow deleted headers #301
Closed
@Wondertan

Description

@Wondertan

Celestia node would benefit from knowing about headers that are being pruned from the store. If any header gets deleted, the user can then react and delete user-specific data that the header is proving/pointing to.

In case of cel node, the callback will delete the sample or block data. Then, once a node starts and identifies the proper Tail, it will delete all the block data along with header pruning. This ensures that before Pruner even starts, Tail is already on par with Pruner's state, and all the block data before Tail is removed. This follows the CIP, where the storage pruning window can't be larger than the header pruning window.

If the Tail is absolute on the other hand, the Pruner still kicks in to prune data, allowing the case for HPW > SPW.

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

    0