ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.09k stars 646 forks source link

Rename `GetPeerList` and `PeerList` messages #3128

Open StephenButtolph opened 1 week ago

StephenButtolph commented 1 week ago

get_peerlist and peerlist messages often treat peerlist like a single word. Whereas all the other messages get_accepted, pull_query, ect, are named consistently.

We should rename get_peerlist to get_peers. We should rename peerlist to peers.

This will also impact some CLI flags, as peer-list options should become peers options.

MukulKolpe commented 1 week ago

Hey @StephenButtolph, can I work on this issue?

StephenButtolph commented 1 week ago

@MukulKolpe Absolutely! If you have any questions feel free to ping here