Refactoring
- Skip calling time(nullptr) twice - Use getter method for m_api instead of exposing it - Moved api_udate_*() back to private since they're not used anywhere else
This commit is contained in:
@@ -154,9 +154,8 @@ private:
|
||||
|
||||
time_t m_apiLastUpdateTime;
|
||||
|
||||
void update_hashrate_data(uint64_t target);
|
||||
|
||||
void api_update_local_stats();
|
||||
void update_hashrate_data(uint64_t target, time_t timestamp);
|
||||
void api_update_local_stats(time_t timestamp);
|
||||
};
|
||||
|
||||
} // namespace p2pool
|
||||
|
||||
Reference in New Issue
Block a user