Skip to content

Backfill blocks and state metadata #4629

@erikgrinaker

Description

@erikgrinaker

Once we merge state sync and block pruning, it would be nice to be able to backfill historical blocks and associated state metadata (e.g. validator sets and commit info). See RFC-001 for discussion.

For state sync, this would allow apps to enforce a minimum block history invariant via e.g. a backfill_height metadata field in state sync snapshots and a retain_height ABCI commit response, and for block pruning this would allow a node with a truncated history to be converted into an archival node.

The existing blockchain reactor should probably be extended to handle this.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:syncComponent: Fast Sync, State SyncT:enhancementType: EnhancementfeatureFeature work that definitely changes system behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions