go-livepeer
go-livepeer copied to clipboard
Add param for block batch size
What does this pull request do? Explain your changes. (required) Some RPC providers have reduced their batch limit to 500. This PR allows node operators to modify the batch size.
Specific updates (required)
Added a new blockBatchSize param to override the default of 1000 blocks for a getLogs call.
The block watcher no longer uses a hardcoded value, instead uses the drilled parameter.
How did you test each of these updates (required) Not yet, will update the PR ...
Does this pull request close any open issues? No.
Checklist:
- [ ] Read the contribution guide
- [ ]
makeruns successfully - [ ] All tests in
./test.shpass - [ ] README and other documentation updated
- [ ] Pending changelog updated
(Stil need to test this using the build artefacts from this PR)