celestia-node
celestia-node copied to clipboard
feat(discovery): add jitter and fix backoff
- Replacing time.NewTicker with time.NewTimer
- Adding backoff logic
- Adding jitter to backoff
- Removed unused test variable
Is it acceptable to use math/rand or add generation logic via crypto/rand to fix Lint?
@Wondertan Could you please check this PR? Or is it possible to point out more important issues at the moment if this PR is not of value at the moment?
Hey @nodersteam, I am deferring the review of this to @walldiss, as the most prominent expert on that code.
Hey @nodersteam, I am deferring the review of this to @walldiss, as the most prominent expert on that code.
Got it! Thx