Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust LocalRootPeers to require targets > 0
Previously we allowed local root peer groups to have a target of zero. This is not useful given the way we interpret the target, and makes things unnecessarily complicated. So we change the invariant to require the target to be greater than zero. We interpret these targets strictly, both from below and above, so a target of zero means we will never connect to any of the given peers.
- Loading branch information