forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 885
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Problem
cluster_info module has the following problems:
- too much code in one module -- for example, maybe move
Nodeto it's own file? Nodehas several constructors which have some differences but I'm sure there is a space for consolidationSocketsstructure is flat, so it spits sockets by names. For example,tpu_and later these fields are used to construct structureTpuSockets. Extract structures with proper construction encapsulation.- in
new_localhost_with_pubkey_and_quic_endpointswe sometime bind to 0.0.0.0 and sometimes to localhost. - Encapsulation -- remove
pubfrom fields:
pub struct Node {
pub info: ContactInfo,
pub sockets: Sockets,
}Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers