Skip to content

Commit 87af22a

Browse files
committed
Update ipfs configuration template to v0.21.0-rc3
1 parent 4ab7a51 commit 87af22a

File tree

1 file changed

+38
-21
lines changed

1 file changed

+38
-21
lines changed

roles/ipfs/templates/home/ipfs/ipfs_default_config

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,12 @@
8484
"/ip4/0.0.0.0/tcp/4001",
8585
"/ip4/0.0.0.0/tcp/4002/ws",
8686
"/ip4/0.0.0.0/udp/4001/quic",
87+
"/ip4/0.0.0.0/udp/4001/quic-v1",
88+
"/ip4/0.0.0.0/udp/4001/quic-v1/webtransport",
8789
"/ip6/::/tcp/4001",
8890
"/ip6/::/udp/4001/quic",
91+
"/ip6/::/udp/4001/quic-v1",
92+
"/ip6/::/udp/4001/quic-v1/webtransport",
8993
"/ip6/::/tcp/4002/ws"
9094
]
9195
},
@@ -101,7 +105,9 @@
101105
}
102106
},
103107
"Routing": {
104-
"Type": "{{ ipfs_routing | default('dht') }}"
108+
"AcceleratedDHTClient": {{ ipfs_accelerated_dht_client | default(False) | lower }},
109+
"Routers": null,
110+
"Methods": null
105111
},
106112
"Ipns": {
107113
"RepublishPeriod": "",
@@ -131,28 +137,17 @@
131137
]
132138
},
133139
"RootRedirect": "{{ ipfs_gateway_root_redirect | default('') }}",
134-
"Writable": false,
135140
"PathPrefixes": [],
136141
"APICommands": [],
137142
"NoFetch": false,
138143
"NoDNSLink": false,
144+
"DeserializedResponses": null,
139145
"PublicGateways": {{ ipfs_public_gateways | default(None) | to_nice_json(indent=2) | indent(6) }}
140146
},
141147
"API": {
142148
"HTTPHeaders": {}
143149
},
144150
"Swarm": {
145-
"DisableBandwidthMetrics": {{ ipfs_disable_bandwidth_metrics | default(False) | lower }},
146-
"DisableNatPortMap": true,
147-
"DisableRelay": {{ ipfs_disable_relay | default(False) | lower }},
148-
"EnableAutoNATService": false,
149-
"EnableAutoRelay": false,
150-
"EnableRelayHop": false,
151-
"Transports": {
152-
"Network": {},
153-
"Security": {},
154-
"Multiplexers": {}
155-
},
156151
"AddrFilters": [
157152
{% if ipfs_addr_filters is defined %}
158153
{% for p in ipfs_addr_filters %}
@@ -181,11 +176,23 @@
181176
"/ip6/fe80::/ipcidr/10"
182177
{% endif %}
183178
],
179+
"DisableBandwidthMetrics": {{ ipfs_disable_bandwidth_metrics | default(False) | lower }},
180+
"DisableNatPortMap": true,
181+
"RelayClient": {},
182+
"RelayService": {},
183+
"Transports": {
184+
"Network": {},
185+
"Security": {},
186+
"Multiplexers": {}
187+
},
184188
"ConnMgr": {
185189
"GracePeriod": "20s",
186190
"HighWater": {{ ipfs_connmgr_high_water | default(2000) }},
187191
"LowWater": {{ ipfs_connmgr_low_water | default(1500) }},
188192
"Type": "basic"
193+
},
194+
"ResourceMgr": {
195+
"MaxMemory": "{{ ipfs_resourcemgr_max_memory | default(0) }}"
189196
}
190197
},
191198
"AutoNAT": {},
@@ -196,25 +203,35 @@
196203
"Peering": {
197204
"Peers": null
198205
},
206+
"DNS": {
207+
"Resolvers": {}
208+
},
209+
"Migration": {
210+
"DownloadSources": [],
211+
"Keep": ""
212+
},
213+
"Provider": {
214+
"Strategy": ""
215+
},
199216
"Reprovider": {
200217
"Interval": "12h",
201218
"Strategy": "{{ ipfs_reprovider_strategy | default('all') }}"
202219
},
203220
"Experimental": {
204221
"FilestoreEnabled": false,
205-
"Libp2pStreamMounting": false,
206-
"P2pHttpProxy": false,
207-
"ShardingEnabled": false,
208-
"StrategicProviding": false,
209222
"UrlstoreEnabled": false,
210223
"GraphsyncEnabled": false,
211-
"AcceleratedDHTClient": {{ ipfs_experimental_accelerated_dht_client | default(False) | lower }},
212-
"StrategicProviding": {{ ipfs_experimental_strategic_providing | default(False) | lower }}
224+
"Libp2pStreamMounting": false,
225+
"P2pHttpProxy": false,
226+
"StrategicProviding": {{ ipfs_experimental_strategic_providing | default(False) | lower }},
227+
"OptimisticProvide": false,
228+
"OptimisticProvideJobsPoolSize": 0
213229
},
214230
"Plugins": {
215231
"Plugins": null
216232
},
217233
"Pinning": {
218-
"RemoteServices": null
219-
}
234+
"RemoteServices": {}
235+
},
236+
"Internal": {}
220237
}

0 commit comments

Comments
 (0)