Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit effe470

Browse files
committed
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 <[email protected]>
1 parent 7bce469 commit effe470

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type Config struct {
2626
Tour Tour // local node's tour position
2727
Gateway Gateway // local node's gateway server options
2828
SupernodeRouting SupernodeClientConfig // local node's routing servers (if SupernodeRouting enabled)
29-
DialBlocklist []string
29+
Swarm SwarmConfig
3030
Log Log
3131
}
3232

swarm.go

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package config
2+
3+
type SwarmConfig struct {
4+
AddrFilters []string
5+
}

0 commit comments

Comments
 (0)