data api: added stats_mod

This commit is contained in:
SChernykh
2021-09-08 09:57:31 +02:00
parent a332ac7d26
commit 57bc38d2bb
4 changed files with 69 additions and 0 deletions
+1
View File
@@ -106,6 +106,7 @@ void p2pool_api::dump_to_file_async_internal(const Category& category, const cha
std::string path;
switch (category) {
case Category::GLOBAL: path = m_apiPath + filename; break;
case Category::NETWORK: path = m_networkPath + filename; break;
case Category::POOL: path = m_poolPath + filename; break;
}