remove ipam.DummyAllocator and rely on new SurrogateGossiper
As a result it is possible to mix nodes with and without IPAM. Note that the quorum only involves the former, and hence such mixed environments will typically require a custom `-initpeercount`.
This commit is contained in:
1 parent
dea5bd0639
commit
36ba838f54
2 files changed
-34
No files matched your search
@@ -153,8 +153,6 @@ func main() {
|
||||
}
|
||||
} else if peerCount > 0 {
|
||||
log.Fatal("-initpeercount flag specified without -iprange")
|
||||
} else {
|
||||
router.NewGossip("IPallocation", &ipam.DummyAllocator{})
|
||||
}
|
||||
|
||||
router.Start()
|
||||
|
||||
Reference in new issue
Block a user