pub fn to_bootnodes(bootnodes: &Option<String>) -> Result<Vec<String>, String>
Validates and formats bootnodes option.