Newbie in this area. Trying to understand how lightning network would work in real world.
If I want to buy a coffee on BTC network, I go and pay and unfortunately me and the cashier need to wait 5-10 min before the transaction is "confirmed" on chain. This the cashier wouldn't know for sure if my money is good for that amount of time.
With lightning network, my understanding is that we would be making a transaction on a "side chain" (so the money would be transferred "instantly").
My question is that instantly - Does the lightning network also solve the problem of giving confidence to the cashier that I have the money required? I.e. does the cashier have to wait for the side chain to get "settled" onto the main chain and thus wait 5-10 minutes for a confirmation?