Skip to content

Commit

Permalink
chore(cips): Add definitions for sampling + pruning window
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Feb 7, 2024
1 parent 44d65cc commit 3d3cc5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cips/cip-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ Non-pruned nodes MAY advertise themselves under a new `archival` tag, in which c

Data availability sampling light nodes SHOULD sample blocks created in the last 30 days worth of seconds (the sampling window of 2592000 seconds).

## Definitions

**Sampling Window** - the period within which light nodes should sample blocks, specified at 30 days worth of seconds.

**Pruning Window** - the period within which both pruned and non-pruned full storage nodes must store and distribute data in blocks, specified at 30 days + 1 hour worth of seconds.

## Rationale

30 days worth of seconds (2592000 seconds) is chosen for the following reasons:
Expand Down

0 comments on commit 3d3cc5b

Please sign in to comment.