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:
Matthias Radestock committed 2015-06-15 11:24:07 +01:00
1 parent dea5bd0639
commit 36ba838f54
2 files changed
-34

No files matched your search

-2
View File
@@ -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()