This commit prevents from completing (i.e. sending) the same transaction multiple times.
Now all transactions in both cases are waiting for CompleteTransaction or DiscardTransaction to proceed independently from their destination: upstream of local