Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix hanging block download #1574
BTCPayServer users run a pruned node, which mean that without this pull request, the block download would hang 64 seconds before connecting to another peer.
This PR disconnects immediately if the remote node does not have the block.