mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-21 22:44:30 +01:00
This commit reduces the number of concurrent validation operations the router will perform when fully validating the channel graph. Reports from several users indicate that GetInfo would hang for several minutes, which is believed to be caused by attempting to validate massive amounts of channels in parallel. This commit returns the limit back to its original state before adding the batched gossip improvements. We keep the 1000 concurrent validation request limit for AssumeChannelValid, since we don't fetch blocks in that case. This allows us to still keep the performance benefits on mobile/low-resource devices.
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