Specify disabling RC gossiping (testing only) properly

pull/1312/head
Stephen Shelton 4 years ago
parent 0e99f5bc86
commit 305795315b
No known key found for this signature in database
GPG Key ID: EE4BADACCE8B631C

@ -19,13 +19,13 @@ namespace tooling
void
HiveRouter::disableGossiping()
{
m_disableGossiping = false;
m_disableGossiping = true;
}
void
HiveRouter::enableGossiping()
{
m_disableGossiping = true;
m_disableGossiping = false;
}
void

@ -48,7 +48,8 @@ namespace llarp
})
.def_readwrite("workerThreads", &RouterConfig::m_workerThreads)
.def_readwrite("numNetThreads", &RouterConfig::m_numNetThreads)
.def_readwrite("JobQueueSize", &RouterConfig::m_JobQueueSize);
.def_readwrite("JobQueueSize", &RouterConfig::m_JobQueueSize)
.def_readwrite("enablePeerStats", &RouterConfig::m_enablePeerStats);
py::class_<NetworkConfig>(mod, "NetworkConfig")
.def(py::init<>())

@ -65,6 +65,7 @@ class RouterHive(object):
config.router.nickname = "Router%d" % index
config.router.overrideAddress('127.0.0.1:{}'.format(port))
config.router.blockBogons = False
config.router.enablePeerStats = True
config.network.enableProfiling = False
config.network.routerProfilesFile = "%s/profiles.dat" % dirname

Loading…
Cancel
Save