Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --lib command line argument to RPC poller #52

Open
matthewdarwin opened this issue Aug 7, 2024 · 2 comments
Open

Add --lib command line argument to RPC poller #52

matthewdarwin opened this issue Aug 7, 2024 · 2 comments

Comments

@matthewdarwin
Copy link

If you are processing old block ranges with the RPC poller + merger and want to chunk up the block range into separate jobs, you need to overlap the different jobs by sufficient blocks to cover the lib. Else the last set of one-blocks will not be merged.

Add option --lib 0 or something to force the lib to be 0 instead of the default 200.

Or maybe just set the lib to 1 block automatically if the head_block_drift > 6 hrs.

Current one-block filenames show 200 block LIB, example:

0032000025-9a76f217563354bb-621c32590ba799b2-31999825-default.dbin.zst
@matthewdarwin matthewdarwin changed the title Add --lib command line argumen to RPC poller Add --lib command line argument to RPC poller Aug 8, 2024
@matthewdarwin
Copy link
Author

I suppose FORCE_FINALITY_AFTER_BLOCKS = 1 is workaround for this?

@matthewdarwin
Copy link
Author

Actually probably not a good idea.
Rather want a way to force the merger to merge without waiting for lib.

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

No branches or pull requests

1 participant