Skip to content

Add verification batch size configuration - #5

Merged
PrimelPJ merged 1 commit into
mainfrom
add-verification-config
Oct 20, 2026
Merged

PrimelPJ merged 1 commit into
mainfrom
add-verification-config

Conversation

@PrimelPJ

Copy link
Copy Markdown
Owner

Adds constants for controlling batch size during chain verification. DefaultVerifyBatchSize (1000) balances memory against round trips. MaxVerifyBatchSize (10000) prevents OOM on stores with millions of events.

Configurable batch sizes for chain verification to balance memory
usage against store round trips during large audits.

@PrimelPJ PrimelPJ left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Good defaults. 1000 per batch with 50k progress interval should keep long verifications responsive without flooding logs.

@PrimelPJ
PrimelPJ merged commit 3e2e7bc into main Oct 20, 2026
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.

1 participant