mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-05 18:49:39 +02:00
In this commit, we update the routing package to use the new `sphinx.NewOnionPacket` method. The new version of this method allows us to specify _how_ the packet should be filled before it's used to create a mix-header. This isn't a fundamental change (totally backwards compatible), instead it plugs a privacy leak that may have revealed to the destination how long the true route was.
routing
The routing package implements authentication+validation of channel announcements, pruning of the channel graph, path finding within the network, sending outgoing payments into the network and synchronizing new peers to our channel graph state.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/routing