GUI: Refactor formatServicesStr to warn when a ServicesFlag is missing

This commit is contained in:
Luke Dashjr
2019-11-14 04:50:54 +00:00
parent df77de8c21
commit 4341bffb6e
2 changed files with 20 additions and 24 deletions

View File

@@ -245,6 +245,7 @@ const std::vector<std::string> &getAllNetMessageTypes();
/** nServices flags */
enum ServiceFlags : uint64_t {
// NOTE: When adding here, be sure to update qt/guiutil.cpp's formatServicesStr too
// Nothing
NODE_NONE = 0,
// NODE_NETWORK means that the node is capable of serving the complete block chain. It is currently