@@ -95,12 +95,6 @@ config file at runtime.
95
95
- [ ` Pinning.RemoteServices: Policies.MFS.Enabled ` ] ( #pinningremoteservices-policiesmfsenabled )
96
96
- [ ` Pinning.RemoteServices: Policies.MFS.PinName ` ] ( #pinningremoteservices-policiesmfspinname )
97
97
- [ ` Pinning.RemoteServices: Policies.MFS.RepinInterval ` ] ( #pinningremoteservices-policiesmfsrepininterval )
98
- - [ ` Pubsub ` ] ( #pubsub )
99
- - [ ` Pubsub.Enabled ` ] ( #pubsubenabled )
100
- - [ ` Pubsub.Router ` ] ( #pubsubrouter )
101
- - [ ` Pubsub.DisableSigning ` ] ( #pubsubdisablesigning )
102
- - [ ` Pubsub.SeenMessagesTTL ` ] ( #pubsubseenmessagesttl )
103
- - [ ` Pubsub.SeenMessagesStrategy ` ] ( #pubsubseenmessagesstrategy )
104
98
- [ ` Peering ` ] ( #peering )
105
99
- [ ` Peering.Peers ` ] ( #peeringpeers )
106
100
- [ ` Reprovider ` ] ( #reprovider )
@@ -1163,92 +1157,6 @@ Default: `"5m"`
1163
1157
1164
1158
Type: ` duration `
1165
1159
1166
- ## ` Pubsub `
1167
-
1168
- Pubsub configures the ` ipfs pubsub ` subsystem. To use, it must be enabled by
1169
- passing the ` --enable-pubsub-experiment ` flag to the daemon
1170
- or via the ` Pubsub.Enabled ` flag below.
1171
-
1172
- ### ` Pubsub.Enabled `
1173
-
1174
- ** EXPERIMENTAL:** read about current limitations at [ experimental-features.md#ipfs-pubsub] ( ./experimental-features.md#ipfs-pubsub ) .
1175
-
1176
- Enables the pubsub system.
1177
-
1178
- Default: ` false `
1179
-
1180
- Type: ` flag `
1181
-
1182
- ### ` Pubsub.Router `
1183
-
1184
- Sets the default router used by pubsub to route messages to peers. This can be one of:
1185
-
1186
- * ` "floodsub" ` - floodsub is a basic router that simply _ floods_ messages to all
1187
- connected peers. This router is extremely inefficient but _ very_ reliable.
1188
- * ` "gossipsub" ` - [ gossipsub] [ ] is a more advanced routing algorithm that will
1189
- build an overlay mesh from a subset of the links in the network.
1190
-
1191
- Default: ` "gossipsub" `
1192
-
1193
- Type: ` string ` (one of ` "floodsub" ` , ` "gossipsub" ` , or ` "" ` (apply default))
1194
-
1195
- [ gossipsub ] : https://github.com/libp2p/specs/tree/master/pubsub/gossipsub
1196
-
1197
- ### ` Pubsub.DisableSigning `
1198
-
1199
- Disables message signing and signature verification. Enable this option if
1200
- you're operating in a completely trusted network.
1201
-
1202
- It is _ not_ safe to disable signing even if you don't care _ who_ sent the
1203
- message because spoofed messages can be used to silence real messages by
1204
- intentionally re-using the real message's message ID.
1205
-
1206
- Default: ` false `
1207
-
1208
- Type: ` bool `
1209
-
1210
- ### ` Pubsub.SeenMessagesTTL `
1211
-
1212
- Controls the time window within which duplicate messages, identified by Message
1213
- ID, will be identified and won't be emitted again.
1214
-
1215
- A smaller value for this parameter means that Pubsub messages in the cache will
1216
- be garbage collected sooner, which can result in a smaller cache. At the same
1217
- time, if there are slower nodes in the network that forward older messages,
1218
- this can cause more duplicates to be propagated through the network.
1219
-
1220
- Conversely, a larger value for this parameter means that Pubsub messages in the
1221
- cache will be garbage collected later, which can result in a larger cache for
1222
- the same traffic pattern. However, it is less likely that duplicates will be
1223
- propagated through the network.
1224
-
1225
- Default: see ` TimeCacheDuration ` from [ go-libp2p-pubsub] ( https://github.com/libp2p/go-libp2p-pubsub )
1226
-
1227
- Type: ` optionalDuration `
1228
-
1229
- ### ` Pubsub.SeenMessagesStrategy `
1230
-
1231
- Determines how the time-to-live (TTL) countdown for deduplicating Pubsub
1232
- messages is calculated.
1233
-
1234
- The Pubsub seen messages cache is a LRU cache that keeps messages for up to a
1235
- specified time duration. After this duration has elapsed, expired messages will
1236
- be purged from the cache.
1237
-
1238
- The ` last-seen ` cache is a sliding-window cache. Every time a message is seen
1239
- again with the SeenMessagesTTL duration, its timestamp slides forward. This
1240
- keeps frequently occurring messages cached and prevents them from being
1241
- continually propagated, especially because of issues that might increase the
1242
- number of duplicate messages in the network.
1243
-
1244
- The ` first-seen ` cache will store new messages and purge them after the
1245
- SeenMessagesTTL duration, even if they are seen multiple times within this
1246
- duration.
1247
-
1248
- Default: ` last-seen ` (see [ go-libp2p-pubsub] ( https://github.com/libp2p/go-libp2p-pubsub ) )
1249
-
1250
- Type: ` optionalString `
1251
-
1252
1160
## ` Peering `
1253
1161
1254
1162
Configures the peering subsystem. The peering subsystem configures Kubo to
0 commit comments