go-ipfs-config: Reprovider strategies
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
Łukasz Magiera committed
Aug 1, 2017 at 02:57 UTC
92d7259c688d31a608a0a075d5f22cbe9bfda8ae
2 files changed
+2
config/init.go
+1
@@ -72,6 +72,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
72
},
73
Reprovider: Reprovider{
74
Interval: "12h",
75
+ Strategy: "all",
76
},
77
}
78
config/reprovider.go
+1
@@ -2,4 +2,5 @@ package config
2
3
type Reprovider struct {
4
Interval string // Time period to reprovide locally stored objects to the network
5
+ Strategy string // Which keys to announce
6
}