A Treasure Hunt Inside Every Lightning Payment

Alice has spent weeks hunting for a solid wood bookshelf. She finally finds the one, made by Zoe, a carpenter who sells her work online and takes payment over Lightning. Alice scans the invoice, her wallet thinks about it for a second, and the payment goes through. Alice goes back to measuring her living room wall. Nobody thinks about the route. There was a route, though. Lightning payments can only travel along payment channels. A channel is a shared pot of bitcoin that two nodes lock up together on the Bitcoin blockchain, so they can pass money back and forth between them instantly, without touching the blockchain each time. Alice has a channel with one node, that node has a channel with
…