Convert service flags (a bitmask of NODE_*) to human readable strings. It supports unknown service flags which will be returned as "UNKNOWN[...]".

Synopsis

Declared in <protocol.h>

std::vector<std::string>
serviceFlagsToStr(uint64_t flags);

Return Value

One human‐readable string per set service flag.

Parameters

Name

Description

flags [in]

multiple NODE_* bitwise‐OR‐ed together

Created with MrDocs