mirror of
https://github.com/wownero/p2pool-wow.git
synced 2026-11-27 19:04:09 +01:00
API: use unique temp file names
This commit is contained in:
@@ -50,6 +50,7 @@ private:
|
||||
int fd;
|
||||
|
||||
std::string name;
|
||||
std::string tmp_name;
|
||||
std::vector<char> buf;
|
||||
};
|
||||
|
||||
@@ -87,6 +88,8 @@ private:
|
||||
unordered_map<std::string, std::vector<char>> m_dumpData;
|
||||
|
||||
uv_async_t m_dumpToFileAsync;
|
||||
|
||||
uint64_t m_counter;
|
||||
};
|
||||
|
||||
} // namespace p2pool
|
||||
|
||||
Reference in New Issue
Block a user