This function's name should be changed to sync, since it's not fetching out of the block index (like the sort of index that Gary drops :).