Open fkrause98 opened 2 weeks ago
Checked out this file...there are a few different fields in the functions Would you like the struct to have all the fields with most of them being an Option<...> type This struct would get passed directly to the functions with the fields as per required by respective functions
Issue
Currently, we're passing 4-5 arguments to the functions under p2p/net.rs, let's consider adding a structure that contains these arguments as fields to avoid it becoming hard to read and maintain.