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

[WIP] allow a skip interval in --blocks #50

Closed
wants to merge 1 commit into from

Conversation

sslivkoff
Copy link
Member

Motivation

want to be able to collect some blocks over an interval but not all of them

Solution

allow syntax --blocks START_BLOCK:END_BLOCK:SKIP instead of just --blocks START_BLOCK:END_BLOCK. this will use every SKIP blocks. so --blocks 100:200:20 would be blocks 120, 140, 160, 180, 200

[WIP] also allow --blocks START_BLOCK:END_BLOCK/N to take N samples from the interval. so --blocks 100:200/5 would be blocks 120, 140, 160, 180, 200

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@sslivkoff
Copy link
Member Author

alternative implementation in #81

@sslivkoff sslivkoff closed this Oct 18, 2023
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.

None yet

1 participant