That's a pretty good summary but worth noting that it describes specifically Sphinx onion routing (the onion routing in Tor is not the same). See the paper.
For people who want to understand it in a bit more detail, there is a great writeup with diagrams in Mastering the Lightning Network
Whoops, my bad. I just assumed it was basically the same. I guess it's still onion routed in the sense each layer is encrypted for the next hop? I'll have to look into how tor works at some point.
reply