Skip to content

Conversation

@agaffney
Copy link
Contributor

@agaffney agaffney commented May 1, 2025

This disables validation of "historical" (more than 2 weeks old) blocks and transactions by default

@agaffney agaffney requested a review from a team as a code owner May 1, 2025 16:41
@agaffney agaffney force-pushed the feat/historical-validation branch from 2e4f2dd to 2691fad Compare May 1, 2025 16:43
This disables validation of "historical" (more than 2 weeks old) blocks
and transactions by default

Signed-off-by: Aurora Gaffney <aurora@blinklabs.io>
@agaffney agaffney force-pushed the feat/historical-validation branch from 2691fad to 2ecab09 Compare May 1, 2025 16:46
cleanupConsumedUtxosInterval = 5 * time.Minute
cleanupConsumedUtxosSlotWindow = 50000 // TODO: calculate this from params (#395)

validateHistoricalThreshold = 14 * (24 * time.Hour) // 2 weeks
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stick a TODO/issue for making this configurable, please.

@wolf31o2
Copy link
Member

wolf31o2 commented May 1, 2025

One comment, but it's OK to add it in another PR after you make the issue.

@agaffney agaffney merged commit affe0b2 into main May 1, 2025
10 checks passed
@agaffney agaffney deleted the feat/historical-validation branch May 1, 2025 20:54
@agaffney agaffney self-assigned this May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants