What determines the number of transaction confirmations that must be completed prior to a wallet or website considering the transaction complete (irreversible) and subsequently acknowledging the transaction? The bitcoin wiki states that only six confirmations are typically required for proof of irreversibly and I believe I've come across some websites that follow this guideline. Along the same lines, why are mined coins acknowledged after 100 confirmations, rather than, say, six? If anyone could comment, I would be interested to learn more about how one judges sufficient number of confirmations. Thanks.
Double spend attempts are rare. Really rare. Because of this, if the chain reorgs, all legitimate transactions that were in the old chain will be in the new chain, or they'll make it in shortly.
But, a reorg destroys a coinbase permanently. If that coinbase had been spent, all transactions that traced back to it would become invalid and need to be thrown out.
So, the solution is to prevent spending coinbases until WAY more blocks have passed than we ever expect to get balled back in a reorg.