CLI option and network configuration

This commit is contained in:
Robert Habermeier
2016-06-19 15:59:12 +02:00
parent 08522eec37
commit a4dacca262
3 changed files with 25 additions and 0 deletions

View File

@@ -73,6 +73,8 @@ pub struct NetworkConfiguration {
pub use_secret: Option<Secret>,
/// Number of connected peers to maintain
pub ideal_peers: u32,
/// List of reserved node addresses.
pub reserved_nodes: Vec<String>,
}
impl Default for NetworkConfiguration {