Default minimum number of peers is documented to be 5 but is actually 0 #4252
Labels
C-simple
Minor changes changes, no additional research needed. Good first issue/review.
good first issue
issues that are suitable for first-time contributors.
P-low
this is mostly nice to have.
S-cli
issue related to Gossamer CLI.
S-doc
documentation related.
T-bug
this issue covers unexpected and/or wrong behaviour.
Describe the bug
According to the CLI documentation, the default for the
--min-peers
flag is 5. But in the code it is actually set to 0.Expected Behavior
Documentation reflects what the code actually does.
Current Behavior
The user is bamboozled.
Possible Solution
I don't think 0 is a useful default and therefore suggest setting
DefaultMinPeers
to 5.The text was updated successfully, but these errors were encountered: