363cec7012
In this commit, we add a new field to the LightningPayment struct: PayAttemptTimeout. This new field allows the caller to control exactly how much time should be spent attempting to route a payment to the destination. The default value we’ll use is 60 seconds, but callers are able to specify a diff value. Once the timeout has passed, we’ll abandon th e payment attempt, and return an error back to the original caller. |
||
---|---|---|
.. | ||
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 | ||
validation_barrier.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