fetch existing tx ids when storing block in one query instead of N
do one query instead of N to fetch existing addr ids