Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.h
Show First 20 Lines • Show All 331 Lines • ▼ Show 20 Lines | enum ServiceFlags : uint64_t { | ||||
// NO_BLOOM_VERSION) | // NO_BLOOM_VERSION) | ||||
NODE_BLOOM = (1 << 2), | NODE_BLOOM = (1 << 2), | ||||
// NODE_XTHIN means the node supports Xtreme Thinblocks. If this is turned | // NODE_XTHIN means the node supports Xtreme Thinblocks. If this is turned | ||||
// off then the node will not service nor make xthin requests. | // off then the node will not service nor make xthin requests. | ||||
NODE_XTHIN = (1 << 4), | NODE_XTHIN = (1 << 4), | ||||
// Bit 5 was NODE_BITCOIN_CASH, removed in v0.22.8 | // Bit 5 was NODE_BITCOIN_CASH, removed in v0.22.8 | ||||
// NODE_COMPACT_FILTERS means the node will service basic block filter | |||||
// requests. | |||||
// See BIP157 and BIP158 for details on how this is implemented. | |||||
NODE_COMPACT_FILTERS = (1 << 6), | |||||
// NODE_NETWORK_LIMITED means the same as NODE_NETWORK with the limitation | // NODE_NETWORK_LIMITED means the same as NODE_NETWORK with the limitation | ||||
// of only serving the last 288 (2 day) blocks | // of only serving the last 288 (2 day) blocks | ||||
// See BIP159 for details on how this is implemented. | // See BIP159 for details on how this is implemented. | ||||
NODE_NETWORK_LIMITED = (1 << 10), | NODE_NETWORK_LIMITED = (1 << 10), | ||||
// The last non experimental service bit, helper for looping over the flags | // The last non experimental service bit, helper for looping over the flags | ||||
NODE_LAST_NON_EXPERIMENTAL_SERVICE_BIT = (1 << 23), | NODE_LAST_NON_EXPERIMENTAL_SERVICE_BIT = (1 << 23), | ||||
▲ Show 20 Lines • Show All 178 Lines • Show Last 20 Lines |