code: func calcBloomIndexes(b []byte) bloomIndexes {
  	b = crypto.Keccak256(b)
  
  	var idxs bloomIndexes
  	for i := 0; i < len(idxs); i++ {
  		idxs[i] = (uint(b[2*i])<<8)&2047 + uint(b[2*i+1])
  	}
  	return idxs
  }
docs: // calcBloomIndexes returns the bloom filter bit indexes belonging to the given key.