lnd/routing
Wilmer Paulino 998680ad59
routing: fall back to edge MaxHTLC within findPath instead of Capacity
In this commit, we make our findPath function use an edge's MaxHTLC as
its available bandwidth instead of its Capacity. We do this as it's
possible for the capacity of an edge to not exist when operating as a
light client. For channels that do not support the MaxHTLC optional
field, we'll fall back to using the edge's Capacity.
2019-04-18 21:57:42 -07:00
..
chainview multi: update build to latest version of neutrino+btcwallet 2019-03-13 15:03:39 -07:00
testdata routing: update test edge policy fields to include max htlc + new flags 2019-03-01 08:05:27 -08:00
ann_validation.go routing: skip max htlc validation when capacity is 0 2019-04-18 21:57:38 -07:00
conf.go
conf_experimental.go
errors.go
graph.go
heap.go routing: enforce cltv limit in path finding 2019-03-19 10:36:45 +01:00
heap_test.go
log.go
missioncontrol.go routing: abstract path finding interface 2019-03-19 10:36:48 +01:00
notifications.go routing/notifications: check router startd on SubscribeTopology 2019-04-02 10:21:08 +02:00
notifications_test.go routing/ntfns+rpcserver: include max htlc in topology notifications 2019-02-21 18:39:32 -08:00
pathfind.go routing: fall back to edge MaxHTLC within findPath instead of Capacity 2019-04-18 21:57:42 -07:00
pathfind_test.go routing: prune channels with disabled bit set on both edges 2019-04-18 21:57:34 -07:00
payment_session.go routing: add cltv limit to payment session 2019-03-19 10:36:51 +01:00
payment_session_test.go routing: add cltv limit to payment session 2019-03-19 10:36:51 +01:00
README.md
router.go channeldb+routing: refactor DeleteChannelEdge to use ChannelID 2019-04-18 21:57:41 -07:00
router_test.go routing: prune channels with disabled bit set on both edges 2019-04-18 21:57:34 -07:00
validation_barrier.go
validation_barrier_test.go

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