Also fix overflow issue with reorg handling.
All implementations of the ChainNotifier interface support registering notifications on transaction confirmations. This struct is intended to be used internally by ChainNotifier implementations to handle much of this logic.