I want to support ethereum payments in a coffee shop. The constraint here is that when a customer wants to pay, the period of waiting on the confirmations should not take more than 30 seconds.
I know that 1 ethereum confirmation takes around 15 seconds, which would be totally acceptable. But I want to know what I'm risking with accepting payments at only one confirmation. Does that mean that one in every X transactions will be invalidated? How much can I expect X to be? 1000? 10000?
Do you know where I could possibly get a plot of the probability of the transaction ending up invalidated as a function of number of confirmations?