fd1aa478a9
In this commit, we disable attempting to determine when a channel has been closed out on-chain whenever AssumeChannelValid is active. Since the flag indicates that performing this operation is expensive, we do this as a temporary optimization until we can include proofs of channels being closed in the gossip protocol. With this change, the only way for channels being removed from the graph will be once they're considered zombies: which can happen when both edges of a channel have their disabled bits set or when both edges haven't had an update within the past two weeks. |
||
---|---|---|
.. | ||
chainview | ||
testdata | ||
ann_validation.go | ||
conf_experimental.go | ||
conf.go | ||
errors.go | ||
graph.go | ||
heap_test.go | ||
heap.go | ||
log.go | ||
missioncontrol.go | ||
notifications_test.go | ||
notifications.go | ||
pathfind_test.go | ||
pathfind.go | ||
payment_session_test.go | ||
payment_session.go | ||
README.md | ||
router_test.go | ||
router.go | ||
validation_barrier_test.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