mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-13 14:39:06 +02:00
probabilityFormula() is expected to return an error if capacity is 0, so we should exclude that case from fuzzing. Previously it was attempted to avoid this case by seeding the corpus with an input that had capacity 1. That is not an effective solution since the fuzzer can still generate an input with capacity 0.
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