QSP-41 Clarify Block Filters Passthrough In DB (#6397)

* clarify filters
* Merge refs/heads/master into blocks-filter-criteria
* Merge refs/heads/master into blocks-filter-criteria
This commit is contained in:
Raul Jordan 2020-06-25 03:31:07 -05:00 committed by GitHub
parent 9a156bd73a
commit 26e27bf052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -600,6 +600,8 @@ func createBlockIndicesFromFilters(ctx context.Context, f *filters.QueryFilter)
return nil, errors.New("parent root is not []byte")
}
indicesByBucket[string(blockParentRootIndicesBucket)] = parentRoot
// The following cases are passthroughs for blocks, as they are not used
// for filtering indices.
case filters.StartSlot:
case filters.EndSlot:
case filters.StartEpoch: