func (f *Fetcher) Notify(peer string, hashes hash.Events, time time.Time, fetchEvents EventsRequesterFn) error {
    // divide big batch into smaller ones
    for start := 0; start < len(hashes); start += maxAnnounceBatch {
        end := len(hashes)
        if end > start+maxAnnounceBatch {