pull down to refresh

noob question. maybe you can answer @k00b.
when I do transactions on LN, they occasionally confirm instantly, sometimes take like 20 seconds, or anywhere in between. Is that just a matter of routing and how fast the wallet can find a route across the network? Or something else?
It can be multiple reasons afaik, but I'm not an authority on routing implementations.
Sometimes a hop or more is over Tor and communicating across it might be slow. Other times, your wallet might've attempted routes that failed before finding ones that succeed. If your wallet is often offline, it might have a "stale" view of the network when you go to pay and that might impair its ability to route.
reply
Thanks, this is very insightful.
reply