Minor refactorings in the process of #2177
By having everything peer set related depend directly on the enum the code becomes more clear and it is also straight forward to add more peersets/protocols as the compiler will complain if you forget to implement parts of it.
parent
7a3d02c6
Please register or sign in to comment