Merge pull request #51 from Tonux599/stratumServerJson-staging

API for stratum server statistics.
This commit is contained in:
SChernykh
2021-10-04 11:16:37 +03:00
committed by GitHub
9 changed files with 110 additions and 8 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ p2pool::p2pool(int argc, char* argv[])
uv_mutex_init_checked(&m_foundBlocksLock);
uv_mutex_init_checked(&m_submitBlockDataLock);
m_api = m_params->m_apiPath.empty() ? nullptr : new p2pool_api(m_params->m_apiPath);
m_api = m_params->m_apiPath.empty() ? nullptr : new p2pool_api(m_params->m_apiPath, m_params->m_localStats);
m_sideChain = new SideChain(this, type);
m_hasher = new RandomX_Hasher(this);