MCPcopy Create free account
hub / github.com/ElementsProject/elements / formatServicesStr

Function formatServicesStr

src/qt/guiutil.cpp:807–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805}
806
807QString formatServicesStr(quint64 mask)
808{
809 QStringList strList;
810
811 for (const auto& flag : serviceFlagsToStr(mask)) {
812 strList.append(QString::fromStdString(flag));
813 }
814
815 if (strList.size())
816 return strList.join(", ");
817 else
818 return QObject::tr("None");
819}
820
821QString formatPingTime(std::chrono::microseconds ping_time)
822{

Callers 1

updateDetailWidgetMethod · 0.85

Calls 3

serviceFlagsToStrFunction · 0.85
sizeMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected