Added watchdog class, which checks whether a certain transaction has been spent
Split transaction checking into a separate method