@cryptotaxi247 / kubo / commits / 3861ff304

go-ipfs-config: config: DialBlocklist -> Swarm.AddrFilters

This commit changes the DialBlocklist key to be under the key Swarm.AddrFilters instead. License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>

Juan Batiz-Benet committed Jul 2, 2015 at 16:11 UTC 3861ff304e1d52060ed165b842bb5845827b63cd
2 files changed +6 -1
config/config.go
+1 -1
@@ -26,7 +26,7 @@ type Config struct {
26 Tour Tour // local node's tour position
27 Gateway Gateway // local node's gateway server options
28 SupernodeRouting SupernodeClientConfig // local node's routing servers (if SupernodeRouting enabled)
29 - DialBlocklist []string
29 + Swarm SwarmConfig
30 Log Log
31 }
32
config/swarm.go new
+5
@@ -0,0 +1,5 @@
1 +package config
2 +
3 +type SwarmConfig struct {
4 + AddrFilters []string
5 +}