mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Specify disabling RC gossiping (testing only) properly
This commit is contained in:
parent
0e99f5bc86
commit
305795315b
3 changed files with 5 additions and 3 deletions
|
@ -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…
Reference in a new issue