Improve bootstraping: do it regularly; persist peer list

This commit is contained in:
Alex Auvolat
2021-04-05 19:55:53 +02:00
parent 3a449badb1
commit 9ced9f78dc
12 changed files with 226 additions and 80 deletions
+6 -1
View File
@@ -157,7 +157,12 @@ where
if errs.is_empty() {
Ok(true)
} else {
Err(Error::Message(errs.into_iter().map(|x| format!("{}", x)).collect::<Vec<_>>().join(", ")))
Err(Error::Message(
errs.into_iter()
.map(|x| format!("{}", x))
.collect::<Vec<_>>()
.join(", "),
))
}
}