| 189 | |
| 190 | impl Default for BootnodeP2PArgs { |
| 191 | fn default() -> Self { |
| 192 | Self { |
| 193 | priv_path: None, |
| 194 | private_key: None, |
| 195 | advertise_ip: None, |
| 196 | advertise_tcp_port: None, |
| 197 | advertise_udp_port: None, |
| 198 | listen_ip: "0.0.0.0".parse().expect("valid default IP"), |
| 199 | listen_tcp_port: 9222, |
| 200 | listen_udp_port: 9223, |
| 201 | discovery_interval: 5, |
| 202 | bootstore: None, |
| 203 | disable_bootstore: false, |
| 204 | bootnodes: Vec::new(), |
| 205 | discovery_randomize: None, |
| 206 | enr_output: None, |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | impl BootnodeP2PArgs { |