wait for number of confirmations required before adding it to the DB