3 ms·
Do you happen to know where I can find the code or white paper for the current, working, routing algorithm?
by lalaland1125 9y ago
Do you happen to know where I can find the code or white paper for the current, working, routing algorithm?
- kbody 9y agoSure. - Onion Routing Protocol: https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md https://github.com/lightningnetwork/lightning-rfc/blob/maste... - P2P Node and Channel Discovery https://github.com/lightningnetwork/lightning-rfc/blob/master/07-routing-gossip.md https://github.com/lightningnetwork/lightning-rfc/blob/maste... This repo contains specs for a lot of parts of the LN, although probably there may be changes I imagine. As for code, one of the implementations, LND (Go): https://github.com/lightningnetwork/lnd/tree/master/routing https://github.com/lightningnetwork/lnd/tree/master/routing but there are at least 3 other implementations in the works. https://github.com/ElementsProject/lightning https://github.com/ElementsProject/lightning (clang) https://github.com/ACINQ/eclair https://github.com/ACINQ/eclair (Scala) https://github.com/mit-dci/lit https://github.com/mit-dci/lit (Go)