This change ensures consistency in message naming conventions, aligning get_peerlist and peerlist with other message names such as get_accepted and pull_query. It improves readability and maintains uniformity across the codebase.
How this works
get_peerlist is renamed to get_peers.
peerlist is renamed to peers.
Corresponding CLI flags are updated from peer-list options to peers options.
Resolves #3128
Why this should be merged
This change ensures consistency in message naming conventions, aligning
get_peerlist
andpeerlist
with other message names such asget_accepted
andpull_query
. It improves readability and maintains uniformity across the codebase.How this works
get_peerlist
is renamed toget_peers
.peerlist
is renamed topeers
.peer-list
options topeers
options.How this was tested