code: func populateOffsets(blocks []protocol.BlockInfo) {
  	var offset int64
  	for i := range blocks {
  		blocks[i].Offset = offset
  		offset += int64(blocks[i].Size)
  	}
  }
docs: // populateOffsets sets the Offset field on each block