Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.cpp
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | switch (ServiceFlags(service_flag)) { | ||||
// impossible | // impossible | ||||
abort(); | abort(); | ||||
case NODE_NETWORK: | case NODE_NETWORK: | ||||
return "NETWORK"; | return "NETWORK"; | ||||
case NODE_GETUTXO: | case NODE_GETUTXO: | ||||
return "GETUTXO"; | return "GETUTXO"; | ||||
case NODE_BLOOM: | case NODE_BLOOM: | ||||
return "BLOOM"; | return "BLOOM"; | ||||
case NODE_XTHIN: | |||||
return "XTHIN"; | |||||
case NODE_NETWORK_LIMITED: | case NODE_NETWORK_LIMITED: | ||||
return "NETWORK_LIMITED"; | return "NETWORK_LIMITED"; | ||||
case NODE_COMPACT_FILTERS: | case NODE_COMPACT_FILTERS: | ||||
return "COMPACT_FILTERS"; | return "COMPACT_FILTERS"; | ||||
case NODE_AVALANCHE: | case NODE_AVALANCHE: | ||||
return "AVALANCHE"; | return "AVALANCHE"; | ||||
default: | default: | ||||
std::ostringstream stream; | std::ostringstream stream; | ||||
Show All 19 Lines |