Updated example to support the notifyallnewtxs notifications