For example, a seller is selling product A. The seller says that whomsoever pays first gets the product. The seller also sells product B, and whomsoever pays first gets product B, and so on.
What I am thinking is that the seller can publish his next sequence number for product A and the next for product B and so on. The transaction is then constructed with the seller as the source such that when the sequence number is consumed no other transaction can consume it.
The problem is when the later sequence numbers get consumed first; error bad_seq will be returned, although later they will become valid once the previous numbers are consumed. But the later transactions will never become valid if, in this example, product A never gets sold.
I think this is not at all viable. Might anyone suggest how to go about this scenario?