Speeds up syncing. Removes many-to-many tx-address relationship. Move DB flush to more ideal location