e06177e55c
This commit adds a new system within the ChannelRouter: missionControl. The purpose of this system to is to act as a shared memory of sorts between payment sending attempts, recording which edges/vertexes word or didn’t work. Allowing execution attempts to pass on their iterative knowledge of the graph to later attempts will reduce the number of failures encountered, and generally lead to a better UX when sending payments. The current capabilities of missionControl are rather limited just to introduce the new abstraction. Later follow up commits will also add preferential treatment for reliable nodes, knowledge the impact that target payments have on unbalancing the payment graph, etc. |
||
---|---|---|
.. | ||
chainview | ||
testdata | ||
errors.go | ||
graph.go | ||
heap_test.go | ||
heap.go | ||
log.go | ||
missioncontrol.go | ||
notifications_test.go | ||
notifications.go | ||
pathfind_test.go | ||
pathfind.go | ||
README.md | ||
router_test.go | ||
router.go |
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