bf78122dc7
This commit fixes bug that could result in the panicking or crashing of nodes in the case of an at-funding-time reorganization within the network. In order to avoid such a case, we now ensure that the advertised transaction index is within the bounds of the block before attempting to access it. Note that this is a temporary patch commit until full advertisement validation which is implemented in the discovery PR lands in master. Additionally, better reorg handling during the funding process is being specified within the spec and will properly be implemented within lnd at a later date. |
||
---|---|---|
.. | ||
testdata | ||
errors.go | ||
fibonacci.go | ||
graph.go | ||
log.go | ||
pathfind_test.go | ||
pathfind.go | ||
README.md | ||
router.go |
routing
[] (https://travis-ci.org/lightningnetwork/lnd) [] (https://github.com/lightningnetwork/lnd/blob/master/LICENSE) [] (http://godoc.org/github.com/lightningnetwork/lnd/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