lnd/routing
Olaoluwa Osuntokun 7a3116f8a9
routing: ensure we set the TotalFees value on routes properly
Before this commit, we wouldn’t properly set the TotalFees attribute.
As a result, our sorting algorithm at the end to select candidate
routes would simply maintain the time-lock order rather than also sort
by total fees. This commit fixes this issue and also allows the test
added in the prior commit to pass.
2017-12-06 18:45:52 -08:00
..
chainview routing/chainview: remove possibility of deadlock in shutdown of blockEventQueue 2017-11-16 16:01:21 -08:00
testdata routing: during path finding skip edge if amount < edge.MinHTLC 2017-11-30 22:29:45 -08:00
errors.go
graph.go
heap_test.go routing: replace sort.Sort with sort.Slice in heap_test.go 2017-10-02 23:13:47 -07:00
heap.go
log.go
missioncontrol.go discovery: create deDupedAnnouncements struct in gosspier.go 2017-11-15 16:50:19 -08:00
notifications_test.go config+pathfind_test+notifications_test: format and fix newVertex import 2017-11-15 16:50:19 -08:00
notifications.go routing: update ChannelUpdate handling to recognize lnwire.ChanUpdateFlag 2017-11-30 22:24:35 -08:00
pathfind_test.go routing: during path finding skip edges that are marked disabled 2017-11-30 22:31:27 -08:00
pathfind.go routing: ensure we set the TotalFees value on routes properly 2017-12-06 18:45:52 -08:00
README.md
router_test.go routing: ensure we set the TotalFees value on routes properly 2017-12-06 18:45:52 -08:00
router.go routing: ensure that new blocks connected monotonically increase in height 2017-12-05 17:46:21 -08:00
validation_barrier.go routing: add new ValidationBarrier to allow for safe parallel validation of announcements 2017-11-29 16:24:20 -08:00

routing

Build Status MIT licensed GoDoc

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