func WithMaxConcurrency(concurrency int64) Option {
	return func(s *StatefulSyncer) {
		s.maxConcurrency = concurrency
	}
}
WithMaxConcurrency overrides the default max concurrency.
package statefulsyncer
import (
	"time"
)
type Option func(s *StatefulSyncer)
func WithCacheSize(cacheSize int) Option {
	return func(s *StatefulSyncer) {
		s.cacheSize = cacheSize
	}
}
func WithPastBlockLimit(blocks int) Option {
	return func(s *StatefulSyncer) {
		s.pastBlockLimit = blocks
	}
}