route spec store work

This commit is contained in:
John Smith
2022-11-13 19:46:10 -05:00
parent 4a9d516f32
commit 5935ca9e41
9 changed files with 441 additions and 212 deletions
+1 -1
View File
@@ -608,7 +608,7 @@ pub enum SafetySelection {
pub struct SafetySpec {
/// preferred safety route if it still exists
pub preferred_route: Option<DHTKey>,
/// 0 = no safety route, just use node's node id, more hops is safer but slower
/// must be greater than 0
pub hop_count: usize,
/// prefer reliability over speed
pub stability: Stability,