Qt: Add GUI view of peer information. #4133

This commit is contained in:
Ashley Holman
2014-05-23 12:09:59 -05:00
parent 9d97e83bf6
commit 65f78a111f
10 changed files with 870 additions and 12 deletions

View File

@@ -173,6 +173,12 @@ namespace GUIUtil
/* Convert OS specific boost path to QString through UTF-8 */
QString boostPathToQString(const boost::filesystem::path &path);
/* Convert seconds into a QString with days, hours, mins, secs */
QString formatDurationStr(int secs);
/* Format CNodeStats.nServices bitmask into a user-readable string */
QString formatServicesStr(uint64_t mask);
} // namespace GUIUtil
#endif // GUIUTIL_H