Thanks to visit codestin.com
Credit goes to github.com

Skip to content

respect INDEXING_BLOCKS_AMOUNT during summary indexing#5511

Merged
wiz merged 1 commit intomasterfrom
mononaut/summary-indexing-limit
Oct 30, 2024
Merged

respect INDEXING_BLOCKS_AMOUNT during summary indexing#5511
wiz merged 1 commit intomasterfrom
mononaut/summary-indexing-limit

Conversation

@mononaut
Copy link
Contributor

This PR changes $generateBlocksSummariesDatabase to explicitly enforce the INDEXING_BLOCKS_AMOUNT config setting, as it is for the main block indexing and CPFP and difficulty adjustment indexing tasks.

Previously this depended implicitly on however many blocks had already been indexed by $generateBlockDatabase, which made it difficult to pause or limit summary indexing without deleting blocks from the database.

@cla-bot
Copy link

cla-bot bot commented Sep 11, 2024

Thanks for your contribution to The Mempool Open Source Project. We require all contributors to agree to our Contributor License Agreement and don't seem to have one for you on file. Please see the instructions in CONTRIBUTING.md to proceed with this pull request.

@wiz wiz merged commit 7692b2a into master Oct 30, 2024
@wiz wiz deleted the mononaut/summary-indexing-limit branch October 30, 2024 09:27
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.

2 participants

Comments